python3.pkgs.bcrypt: fix build
also use pyproject format as we're heading that direction.
This commit is contained in:
parent
0594c921f1
commit
d52b53fd9e
1 changed files with 7 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, setuptools
|
||||||
, isPyPy
|
, isPyPy
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
@ -11,7 +12,7 @@
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bcrypt";
|
pname = "bcrypt";
|
||||||
version = "3.2.0";
|
version = "3.2.0";
|
||||||
format = "setuptools";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
@ -20,13 +21,16 @@ buildPythonPackage rec {
|
||||||
sha256 = "5b93c1726e50a93a033c36e5ca7fdcd29a5c7395af50a6892f5d9e7c6cfbfb29";
|
sha256 = "5b93c1726e50a93a033c36e5ca7fdcd29a5c7395af50a6892f5d9e7c6cfbfb29";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
six
|
six
|
||||||
] ++ lib.optional (!isPyPy) [
|
|
||||||
cffi
|
cffi
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedNativeBuildInputs = lib.optional (!isPyPy) [
|
propagatedNativeBuildInputs = [
|
||||||
cffi
|
cffi
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue