3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #202262 from alcarney/python38-pydantic-libxcrypt

python38Packages.pydantic: fix build with libxcrypt
This commit is contained in:
Martin Weinelt 2023-03-10 19:17:52 +00:00 committed by GitHub
commit 80639b5ed8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 [