nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at r-updates 40 lines 722 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 setuptools, 5 fetchPypi, 6 cffi, 7 pytestCheckHook, 8 six, 9}: 10 11buildPythonPackage rec { 12 pname = "bcrypt"; 13 version = "3.2.2"; 14 pyproject = true; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-QzxBDCF3BXcF2iqfLNAd0VdJOyp6wUyFk6FrPatra/s="; 19 }; 20 21 nativeBuildInputs = [ setuptools ]; 22 23 propagatedBuildInputs = [ 24 six 25 cffi 26 ]; 27 28 propagatedNativeBuildInputs = [ cffi ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 pythonImportsCheck = [ "bcrypt" ]; 33 34 meta = { 35 description = "Modern password hashing for your software and your servers"; 36 homepage = "https://github.com/pyca/bcrypt/"; 37 license = lib.licenses.asl20; 38 maintainers = [ ]; 39 }; 40}