Unverified Commit 4206c4cb authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

python3Packages.tpm2-pytss: fix build failure (#418530)

parents 7680884b a6b95108
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -44,6 +44,12 @@ buildPythonPackage rec {
        url = "https://github.com/tpm2-software/tpm2-pytss/pull/593.patch";
        hash = "sha256-CNJnSIvUQ0Yvy0o7GdVfFZ7kHJd2hBt5Zv1lqgOeoks=";
      })
      # support cryptography >= 45.0.0
      # https://github.com/tpm2-software/tpm2-pytss/pull/643
      (fetchpatch {
        url = "https://github.com/tpm2-software/tpm2-pytss/commit/6ab4c74e6fb3da7cd38e97c1f8e92532312f8439.patch";
        hash = "sha256-01Qe4qpD2IINc5Z120iVdPitiLBwdr8KNBjLFnGgE7E=";
      })
    ]
    ++ lib.optionals isCross [
      # pytss will regenerate files from headers of tpm2-tss.