1{ cffi 2, six 3, hypothesis 4, pytest 5, wheel 6, buildPythonPackage 7, fetchPypi 8}: 9 10buildPythonPackage rec { 11 pname = "argon2_cffi"; 12 version = "18.3.0"; 13 name = "${pname}-${version}"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "003f588de43a817af6ecc1c06103fa0801de63849db3cb0f37576bb2da29043d"; 18 }; 19 20 propagatedBuildInputs = [ cffi six ]; 21 checkInputs = [ hypothesis pytest wheel ]; 22 checkPhase = '' 23 pytest tests 24 ''; 25 26 meta = { 27 description = "Secure Password Hashes for Python"; 28 homepage = https://argon2-cffi.readthedocs.io/; 29 }; 30}