fix python packages for nixos 23.05

This commit is contained in:
Erik Arvstedt 2023-07-08 15:33:04 +02:00
parent e31cc686f2
commit bb2e88cec2
No known key found for this signature in database
GPG key ID: 33312B944DD97846
9 changed files with 117 additions and 183 deletions

View file

@ -50,7 +50,8 @@ buildPythonPackage rec {
checkInputs = [
cryptography_vectors
hypothesis
# Work around `error: infinite recursion encountered`
(hypothesis.override { enableDocumentation = false; })
iso8601
pretend
pytest
@ -58,7 +59,7 @@ buildPythonPackage rec {
];
checkPhase = ''
py.test --disable-pytest-warnings tests
${pytest}/bin/py.test --disable-pytest-warnings tests
'';
# IOKit's dependencies are inconsistent between OSX versions, so this is the best we