Merge pull request #112748 from r-ryantm/auto-update/python3.7-josepy

python37Packages.josepy: 1.5.0 -> 1.6.0
This commit is contained in:
Martin Weinelt 2021-02-12 01:35:07 +01:00 committed by GitHub
commit 9704f74645
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 4 deletions

View File

@ -4,17 +4,24 @@
, setuptools
, pyopenssl
, cryptography
, mock
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "josepy";
version = "1.5.0";
version = "1.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "502a36f86efe2a6d09bf7018bca9fd8f8f24d8090a966aa037dbc844459ff9c8";
sha256 = "0aab1c3ceffe045e7fd5bcfe7685e27e9d2758518d9ba7116b5de34087e70bf5";
};
postPatch = ''
# remove coverage flags
sed -i '/addopts/d' pytest.ini
'';
propagatedBuildInputs = [
pyopenssl
cryptography
@ -22,8 +29,10 @@ buildPythonPackage rec {
setuptools
];
# too many unpackaged check requirements
doCheck = false;
checkInputs = [
mock
pytestCheckHook
];
meta = with lib; {
description = "JOSE protocol implementation in Python";