pythonPackages.fastpbkdf2: init at 0.2 (#47988)

This commit is contained in:
Jonathan Queiroz 2018-11-03 11:41:16 -03:00 committed by Robert Schütz
parent 4870522f87
commit 4b095c6c05
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ 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 ];
};
}

View File

@ -340,6 +340,8 @@ in {
eradicate = callPackage ../development/python-modules/eradicate { }; eradicate = callPackage ../development/python-modules/eradicate { };
fastpbkdf2 = callPackage ../development/python-modules/fastpbkdf2 { };
fido2 = callPackage ../development/python-modules/fido2 { }; fido2 = callPackage ../development/python-modules/fido2 { };
filterpy = callPackage ../development/python-modules/filterpy { }; filterpy = callPackage ../development/python-modules/filterpy { };