|
|
|
@ -1,5 +1,6 @@ |
|
|
|
|
{ lib |
|
|
|
|
, buildPythonPackage |
|
|
|
|
, setuptools |
|
|
|
|
, isPyPy |
|
|
|
|
, fetchPypi |
|
|
|
|
, pythonOlder |
|
|
|
@ -11,7 +12,7 @@ |
|
|
|
|
buildPythonPackage rec { |
|
|
|
|
pname = "bcrypt"; |
|
|
|
|
version = "3.2.0"; |
|
|
|
|
format = "setuptools"; |
|
|
|
|
format = "pyproject"; |
|
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6"; |
|
|
|
|
|
|
|
|
@ -20,13 +21,16 @@ buildPythonPackage rec { |
|
|
|
|
sha256 = "5b93c1726e50a93a033c36e5ca7fdcd29a5c7395af50a6892f5d9e7c6cfbfb29"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ |
|
|
|
|
setuptools |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ |
|
|
|
|
six |
|
|
|
|
] ++ lib.optional (!isPyPy) [ |
|
|
|
|
cffi |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
propagatedNativeBuildInputs = lib.optional (!isPyPy) [ |
|
|
|
|
propagatedNativeBuildInputs = [ |
|
|
|
|
cffi |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|