Unverified Commit 308f45a5 authored by Arthur Gautier's avatar Arthur Gautier Committed by GitHub
Browse files

python3Packages.tpm2-pytss: fixup revision in tests (#368426)

parents 93a00140 a69a7908
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  substituteAll,
  buildPythonPackage,
  fetchPypi,
  fetchpatch,
  pythonOlder,
  asn1crypto,
  cffi,
@@ -37,6 +38,12 @@ buildPythonPackage rec {
    [
      # Fix hardcoded `fapi-config.json` configuration path
      ./fapi-config.patch
      # libtpms (underneath swtpm) bumped the TPM revision
      # https://github.com/tpm2-software/tpm2-pytss/pull/593
      (fetchpatch {
        url = "https://github.com/tpm2-software/tpm2-pytss/pull/593.patch";
        hash = "sha256-CNJnSIvUQ0Yvy0o7GdVfFZ7kHJd2hBt5Zv1lqgOeoks=";
      })
    ]
    ++ lib.optionals isCross [
      # pytss will regenerate files from headers of tpm2-tss.