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

@ -14,11 +14,13 @@ buildPythonPackage rec {
# 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; {