mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 12:34:15 +00:00
python38Packages.pydantic: fix build with libxcrypt
Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>
This commit is contained in:
parent
7eaa1cf28d
commit
dd3185a90e
@ -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 New Issue
Block a user