3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/fastpbkdf2/default.nix
2018-11-03 15:41:16 +01:00

27 lines
708 B
Nix

{ stdenv, fetchFromGitHub, buildPythonPackage
, openssl, pytest, cffi, six }:
buildPythonPackage rec {
pname = "fastpbkdf2";
version = "0.2";
# Fetching from GitHub as tests are missing in PyPI
src = fetchFromGitHub {
owner = "Ayrx";
repo = "python-fastpbkdf2";
rev = "v${version}";
sha256 = "1hvvlk3j28i6nswb6gy3mq7278nq0mgfnpxh1rv6jvi7xhd7qmlc";
};
buildInputs = [ openssl ];
checkInputs = [ pytest ];
propagatedBuildInputs = [ cffi six ];
meta = with stdenv.lib; {
homepage = https://github.com/Ayrx/python-fastpbkdf2;
description = "Python bindings for fastpbkdf2";
license = licenses.bsd3;
maintainers = with maintainers; [ jqueiroz ];
};
}