Unverified Commit 80639b5e authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

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

python38Packages.pydantic: fix build with libxcrypt
parents 82272003 dd3185a9
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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 [