Merge pull request #122461 from mweinelt/python/pyjwt
This commit is contained in:
commit
c594f4e1f7
@ -29,11 +29,6 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals (lib.versionOlder version "2.0") [
|
||||
# ecdsa changed internal behavior, required if one does 1.7.1 overriding
|
||||
"ec_verify_should_return_false_if_signature_invalid"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "jwt" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
@ -38,8 +38,17 @@ let
|
||||
})
|
||||
|
||||
# Pinned due to API changes in pyjwt>=2.0
|
||||
(mkOverride "pyjwt" "1.7.1"
|
||||
"15hflax5qkw1v6nssk1r0wkj83jgghskcmn875m3wgvpzdvajncd")
|
||||
(self: super: {
|
||||
pyjwt = super.pyjwt.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "1.7.1";
|
||||
src = oldAttrs.src.override {
|
||||
sha256 = "15hflax5qkw1v6nssk1r0wkj83jgghskcmn875m3wgvpzdvajncd";
|
||||
};
|
||||
disabledTests = [
|
||||
"test_ec_verify_should_return_false_if_signature_invalid"
|
||||
];
|
||||
});
|
||||
})
|
||||
|
||||
# Pinned due to bug in ring-doorbell 0.7.0
|
||||
# https://github.com/tchellomello/python-ring-doorbell/issues/240
|
||||
|
Loading…
Reference in New Issue
Block a user