Merge pull request #35126 from dotlambda/pynacl

pythonPackages.pynacl: use system libsodium
This commit is contained in:
Frederik Rietdijk 2018-02-20 11:01:42 +00:00 committed by GitHub
commit 81cafdc590
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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; {