diff options
author | Gary Guo <gary@garyguo.net> | 2023-11-10 01:30:46 +0000 |
---|---|---|
committer | Gary Guo <gary@garyguo.net> | 2023-11-10 02:06:10 +0000 |
commit | 6037b4dfcf67d28147edf5f7554131ef24313f2c (patch) | |
tree | 5632a19b7a3d7c4eac03f64ac08939e6bbe50494 /pkgs/misc/tpm2-pkcs11/default.nix | |
parent | 85f1ba3e51676fa8cc604a3d863d729026a6b8eb (diff) |
tpm2-pkcs11: 1.8.0 -> 1.9.0
Diffstat (limited to 'pkgs/misc/tpm2-pkcs11/default.nix')
-rw-r--r-- | pkgs/misc/tpm2-pkcs11/default.nix | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/pkgs/misc/tpm2-pkcs11/default.nix b/pkgs/misc/tpm2-pkcs11/default.nix index dd0cf011b1588..faf2bdd5570c1 100644 --- a/pkgs/misc/tpm2-pkcs11/default.nix +++ b/pkgs/misc/tpm2-pkcs11/default.nix @@ -6,25 +6,22 @@ stdenv.mkDerivation rec { pname = "tpm2-pkcs11"; - version = "1.8.0"; + version = "1.9.0"; src = fetchFromGitHub { owner = "tpm2-software"; repo = pname; rev = version; - sha256 = "sha256-f5wi0nIM071yaQCwPkY1agKc7OEQa/IxHJc4V2i0Q9I="; + sha256 = "sha256-SoHtgZRIYNJg4/w1MIocZAM26mkrM+UOQ+RKCh6nwCk="; }; - patches = lib.singleton ( - substituteAll { - src = ./0001-configure-ac-version.patch; - VERSION = version; - }); + patches = [ ./version.patch ]; # The preConfigure phase doesn't seem to be working here # ./bootstrap MUST be executed as the first step, before all # of the autoreconfHook stuff postPatch = '' + echo ${version} > VERSION ./bootstrap ''; |