Merge pull request #35126 from dotlambda/pynacl
pythonPackages.pynacl: use system libsodium
This commit is contained in:
commit
81cafdc590
@ -14,11 +14,13 @@ buildPythonPackage rec {
|
|||||||
# 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…
x
Reference in New Issue
Block a user