Unverified Commit 6c2b7646 authored by dotlambda's avatar dotlambda Committed by GitHub
Browse files

python3Packages.python-jose: fix test_incorrect_public_key_hmac_signing (#454433)

parents 50aaeb12 01bc8ac5
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  cryptography,
  ecdsa,
  fetchFromGitHub,
  fetchpatch,
  pyasn1,
  pycrypto,
  pycryptodome,
@@ -24,6 +25,15 @@ buildPythonPackage rec {
    hash = "sha256-8DQ0RBQ4ZgEIwcosgX3dzr928cYIQoH0obIOgk0+Ozs=";
  };

  patches = [
    # https://github.com/mpdavis/python-jose/pull/393
    (fetchpatch {
      name = "fix-test_incorrect_public_key_hmac_signing.patch";
      url = "https://github.com/mpdavis/python-jose/commit/7c0e4c6640bdc9cd60ac66d96d5d90f4377873db.patch";
      hash = "sha256-bCzxZEWKYD20TLqzVv6neZlpU41otbVqaXc7C0Ky9BQ=";
    })
  ];

  pythonRelaxDeps = [
    # https://github.com/mpdavis/python-jose/pull/376
    "pyasn1"