forked from mirrors/nixpkgs
argon2_cffi: init at 16.3.0
This commit is contained in:
parent
4e7deb7100
commit
7c464e3133
31
pkgs/development/python-modules/argon2_cffi/default.nix
Normal file
31
pkgs/development/python-modules/argon2_cffi/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
{ lib
|
||||||
|
, cffi
|
||||||
|
, six
|
||||||
|
, hypothesis
|
||||||
|
, pytest
|
||||||
|
, wheel
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "argon2_cffi";
|
||||||
|
version = "16.3.0";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1ap3il3j1pjyprrhpfyhc21izpmhzhfb5s69vlzc65zvd1nj99cr";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ cffi six ];
|
||||||
|
checkInputs = [ hypothesis pytest wheel ];
|
||||||
|
checkPhase = ''
|
||||||
|
pytest tests
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Secure Password Hashes for Python";
|
||||||
|
homepage = https://argon2-cffi.readthedocs.io/;
|
||||||
|
};
|
||||||
|
}
|
|
@ -162,6 +162,8 @@ in {
|
||||||
|
|
||||||
ansicolor = callPackage ../development/python-modules/ansicolor { };
|
ansicolor = callPackage ../development/python-modules/ansicolor { };
|
||||||
|
|
||||||
|
argon2_cffi = callPackage ../development/python-modules/argon2_cffi { };
|
||||||
|
|
||||||
asana = callPackage ../development/python-modules/asana { };
|
asana = callPackage ../development/python-modules/asana { };
|
||||||
|
|
||||||
asn1crypto = callPackage ../development/python-modules/asn1crypto { };
|
asn1crypto = callPackage ../development/python-modules/asn1crypto { };
|
||||||
|
|
Loading…
Reference in a new issue