python38Packages.pydantic: fix build with libxcrypt

Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>
This commit is contained in:
Alex Carney 2022-11-21 22:37:14 +00:00
parent 7eaa1cf28d
commit dd3185a90e

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 [