Merge pull request #35126 from dotlambda/pynacl

pythonPackages.pynacl: use system libsodium

authored by Frederik Rietdijk and committed by GitHub 81cafdc5 4b17c50e

+5 -3
+5 -3
pkgs/development/python-modules/pynacl/default.nix
··· 11 11 sha256 = "0z9i1z4hjzmp23igyhvg131gikbrr947506lwfb3fayf0agwfv8f"; 12 12 }; 13 13 14 - #set timeout to unlimited, remove deadline from tests, see https://github.com/pyca/pynacl/issues/370 14 + # set timeout to unlimited, remove deadline from tests, see https://github.com/pyca/pynacl/issues/370 15 15 patches = [ ./pynacl-no-timeout-and-deadline.patch ]; 16 16 17 - checkInputs = [ pytest coverage hypothesis ]; 17 + checkInputs = [ pytest hypothesis ]; 18 18 propagatedBuildInputs = [ libsodium cffi six ]; 19 19 20 + SODIUM_INSTALL = "system"; 21 + 20 22 checkPhase = '' 21 - coverage run --source nacl --branch -m pytest 23 + py.test 22 24 ''; 23 25 24 26 meta = with stdenv.lib; {