diff options
author | Ilan Joselevich <personal@ilanjoselevich.com> | 2023-10-17 15:03:38 +0300 |
---|---|---|
committer | Ilan Joselevich <personal@ilanjoselevich.com> | 2023-10-17 15:03:38 +0300 |
commit | 8504512165486a0dc4cb8c3611b13a4d62ef83bd (patch) | |
tree | 38c4e3bf8e5066c4541761fb7992c68774661eed /pkgs/tools/security/age-plugin-tpm | |
parent | fb90d0b639649f5a268b20a6bac2e89e7e7d4796 (diff) | |
download | nixlib-8504512165486a0dc4cb8c3611b13a4d62ef83bd.tar nixlib-8504512165486a0dc4cb8c3611b13a4d62ef83bd.tar.gz nixlib-8504512165486a0dc4cb8c3611b13a4d62ef83bd.tar.bz2 nixlib-8504512165486a0dc4cb8c3611b13a4d62ef83bd.tar.lz nixlib-8504512165486a0dc4cb8c3611b13a4d62ef83bd.tar.xz nixlib-8504512165486a0dc4cb8c3611b13a4d62ef83bd.tar.zst nixlib-8504512165486a0dc4cb8c3611b13a4d62ef83bd.zip |
age-plugin-tpm: 0.1.0 -> 0.2.0
Diffstat (limited to 'pkgs/tools/security/age-plugin-tpm')
-rw-r--r-- | pkgs/tools/security/age-plugin-tpm/default.nix | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/tools/security/age-plugin-tpm/default.nix b/pkgs/tools/security/age-plugin-tpm/default.nix index 8882a70a1a95..4885aa326dda 100644 --- a/pkgs/tools/security/age-plugin-tpm/default.nix +++ b/pkgs/tools/security/age-plugin-tpm/default.nix @@ -2,30 +2,32 @@ , buildGoModule , fetchFromGitHub , swtpm +, openssl }: buildGoModule rec { pname = "age-plugin-tpm"; - version = "0.1.0"; + version = "0.2.0"; src = fetchFromGitHub { owner = "Foxboron"; repo = "age-plugin-tpm"; rev = "v${version}"; - hash = "sha256-Gp7n2/+vgQbsm/En6PQ1to/W6lvFam4Wh3LHdCZnafc="; + hash = "sha256-oTvK8U5j+llHgoChhGb+vcUrUf9doVYxd3d5MEuCNz8="; }; - vendorHash = "sha256-oZni/n2J0N3ZxNhf+RlUWyWeOFwL4+6KUIk6DQF8YpA="; + proxyVendor = true; - postConfigure = '' - substituteInPlace vendor/github.com/foxboron/swtpm_test/swtpm.go \ - --replace "/usr/share/swtpm/swtpm-create-user-config-files" "${swtpm}/share/swtpm/swtpm-create-user-config-files" - ''; + vendorHash = "sha256-BSb+8p5+RJMfcYc2+BuT4YbhCWCbcYOt9upesD11Ytw="; nativeCheckInputs = [ swtpm ]; + buildInputs = [ + openssl + ]; + ldflags = [ "-s" "-w" |