pythonPackages.fastpbkdf2: init at 0.2 (#47988)
This commit is contained in:
parent
4870522f87
commit
4b095c6c05
26
pkgs/development/python-modules/fastpbkdf2/default.nix
Normal file
26
pkgs/development/python-modules/fastpbkdf2/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -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 { };
|
||||||
|
Loading…
Reference in New Issue
Block a user