python3Packages.josepy: enable tests
This commit is contained in:
parent
77c7a14b60
commit
c6f86adf51
@ -4,6 +4,8 @@
|
|||||||
, setuptools
|
, setuptools
|
||||||
, pyopenssl
|
, pyopenssl
|
||||||
, cryptography
|
, cryptography
|
||||||
|
, mock
|
||||||
|
, pytestCheckHook
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -15,6 +17,11 @@ buildPythonPackage rec {
|
|||||||
sha256 = "0aab1c3ceffe045e7fd5bcfe7685e27e9d2758518d9ba7116b5de34087e70bf5";
|
sha256 = "0aab1c3ceffe045e7fd5bcfe7685e27e9d2758518d9ba7116b5de34087e70bf5";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# remove coverage flags
|
||||||
|
sed -i '/addopts/d' pytest.ini
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
pyopenssl
|
pyopenssl
|
||||||
cryptography
|
cryptography
|
||||||
@ -22,8 +29,10 @@ buildPythonPackage rec {
|
|||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
# too many unpackaged check requirements
|
checkInputs = [
|
||||||
doCheck = false;
|
mock
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "JOSE protocol implementation in Python";
|
description = "JOSE protocol implementation in Python";
|
||||||
|
Loading…
Reference in New Issue
Block a user