Merge pull request #35126 from dotlambda/pynacl
pythonPackages.pynacl: use system libsodium
This commit is contained in:
commit
81cafdc590
|
@ -11,14 +11,16 @@ buildPythonPackage rec {
|
||||||
sha256 = "0z9i1z4hjzmp23igyhvg131gikbrr947506lwfb3fayf0agwfv8f";
|
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 ];
|
patches = [ ./pynacl-no-timeout-and-deadline.patch ];
|
||||||
|
|
||||||
checkInputs = [ pytest coverage hypothesis ];
|
checkInputs = [ pytest hypothesis ];
|
||||||
propagatedBuildInputs = [ libsodium cffi six ];
|
propagatedBuildInputs = [ libsodium cffi six ];
|
||||||
|
|
||||||
|
SODIUM_INSTALL = "system";
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
coverage run --source nacl --branch -m pytest
|
py.test
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in New Issue