python3Packages.pynacl: 1.3.0 -> 1.4.0
This commit is contained in:
parent
f62aa57abb
commit
9524e93607
@ -10,12 +10,12 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pynacl";
|
pname = "pynacl";
|
||||||
version = "1.3.0";
|
version = "1.4.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit version;
|
inherit version;
|
||||||
pname = "PyNaCl";
|
pname = "PyNaCl";
|
||||||
sha256 = "0c6100edd16fefd1557da078c7a31e7b7d7a52ce39fdca2bec29d4f7b6e7600c";
|
sha256 = "01b56hxrbif3hx8l6rwz5kljrgvlbj7shmmd2rjh0hn7974a5sal";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest hypothesis_4 ];
|
checkInputs = [ pytest hypothesis_4 ];
|
||||||
@ -24,20 +24,10 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
SODIUM_INSTALL = "system";
|
SODIUM_INSTALL = "system";
|
||||||
|
|
||||||
# fixed in next release 1.3.0+
|
|
||||||
# https://github.com/pyca/pynacl/pull/480
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace tests/test_bindings.py \
|
|
||||||
--replace "average_size=128," ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
py.test
|
py.test
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# https://github.com/pyca/pynacl/issues/550
|
|
||||||
PYTEST_ADDOPTS = "-k 'not test_wrong_types'";
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
maintainers = with maintainers; [ va1entin ];
|
maintainers = with maintainers; [ va1entin ];
|
||||||
description = "Python binding to the Networking and Cryptography (NaCl) library";
|
description = "Python binding to the Networking and Cryptography (NaCl) library";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user