diff --git a/pkgs/development/python-modules/pynacl/default.nix b/pkgs/development/python-modules/pynacl/default.nix index 981427e46f3..bceb2b50cc5 100644 --- a/pkgs/development/python-modules/pynacl/default.nix +++ b/pkgs/development/python-modules/pynacl/default.nix @@ -11,14 +11,16 @@ buildPythonPackage rec { sha256 = "0z9i1z4hjzmp23igyhvg131gikbrr947506lwfb3fayf0agwfv8f"; }; - #set timeout to unlimited, remove deadline from tests, see https://github.com/pyca/pynacl/issues/370 + # set timeout to unlimited, remove deadline from tests, see https://github.com/pyca/pynacl/issues/370 patches = [ ./pynacl-no-timeout-and-deadline.patch ]; - checkInputs = [ pytest coverage hypothesis ]; + checkInputs = [ pytest hypothesis ]; propagatedBuildInputs = [ libsodium cffi six ]; + SODIUM_INSTALL = "system"; + checkPhase = '' - coverage run --source nacl --branch -m pytest + py.test ''; meta = with stdenv.lib; {