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