mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
31 lines
577 B
Nix
31 lines
577 B
Nix
{ cffi
|
|
, six
|
|
, hypothesis
|
|
, pytest
|
|
, wheel
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "argon2_cffi";
|
|
version = "18.3.0";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "003f588de43a817af6ecc1c06103fa0801de63849db3cb0f37576bb2da29043d";
|
|
};
|
|
|
|
propagatedBuildInputs = [ cffi six ];
|
|
checkInputs = [ hypothesis pytest wheel ];
|
|
checkPhase = ''
|
|
pytest tests
|
|
'';
|
|
|
|
meta = {
|
|
description = "Secure Password Hashes for Python";
|
|
homepage = https://argon2-cffi.readthedocs.io/;
|
|
};
|
|
}
|