python3Packages.tpm2-pytss: fixup revision in tests (#368426)
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
substituteAll,
|
substituteAll,
|
||||||
buildPythonPackage,
|
buildPythonPackage,
|
||||||
fetchPypi,
|
fetchPypi,
|
||||||
|
fetchpatch,
|
||||||
pythonOlder,
|
pythonOlder,
|
||||||
asn1crypto,
|
asn1crypto,
|
||||||
cffi,
|
cffi,
|
||||||
@@ -37,6 +38,12 @@ buildPythonPackage rec {
|
|||||||
[
|
[
|
||||||
# Fix hardcoded `fapi-config.json` configuration path
|
# Fix hardcoded `fapi-config.json` configuration path
|
||||||
./fapi-config.patch
|
./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 [
|
++ lib.optionals isCross [
|
||||||
# pytss will regenerate files from headers of tpm2-tss.
|
# pytss will regenerate files from headers of tpm2-tss.
|
||||||
|
|||||||
Reference in New Issue
Block a user