1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/argon2_cffi/default.nix

31 lines
577 B
Nix
Raw Normal View History

{ cffi
2017-12-04 13:34:20 +00:00
, six
, hypothesis
, pytest
, wheel
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "argon2_cffi";
2018-08-25 06:42:37 +01:00
version = "18.3.0";
2017-12-04 13:34:20 +00:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-08-25 06:42:37 +01:00
sha256 = "003f588de43a817af6ecc1c06103fa0801de63849db3cb0f37576bb2da29043d";
2017-12-04 13:34:20 +00:00
};
propagatedBuildInputs = [ cffi six ];
checkInputs = [ hypothesis pytest wheel ];
checkPhase = ''
pytest tests
'';
meta = {
description = "Secure Password Hashes for Python";
homepage = https://argon2-cffi.readthedocs.io/;
};
}