Skip to content

Commit

Permalink
python3Packages.tpm2-pytss: fixup revision in tests (NixOS#368426)
Browse files Browse the repository at this point in the history
  • Loading branch information
baloo authored Dec 26, 2024
2 parents 93a0014 + a69a790 commit 308f45a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/python-modules/tpm2-pytss/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
substituteAll,
buildPythonPackage,
fetchPypi,
fetchpatch,
pythonOlder,
asn1crypto,
cffi,
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 308f45a

Please sign in to comment.