forked from mirrors/nixpkgs
Merge pull request #202262 from alcarney/python38-pydantic-libxcrypt
python38Packages.pydantic: fix build with libxcrypt
This commit is contained in:
commit
80639b5ed8
|
@ -26,6 +26,7 @@
|
|||
, ujson
|
||||
, orjson
|
||||
, hypothesis
|
||||
, libxcrypt
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -51,6 +52,10 @@ buildPythonPackage rec {
|
|||
sed -i '/flake8/ d' Makefile
|
||||
'';
|
||||
|
||||
buildInputs = lib.optionals (pythonOlder "3.9") [
|
||||
libxcrypt
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cython
|
||||
] ++ lib.optionals withDocs [
|
||||
|
|
Loading…
Reference in a new issue