diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-03-09 10:34:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-09 10:34:01 +0100 |
commit | a1d6e74ef43253d1cc4573b2c60260e063dc3852 (patch) | |
tree | a5b8bd2e435a26dd9d06ddd71d46b20b5e21f8e1 /pkgs | |
parent | 8a66db19ffa61262c4d958e5cebdcc5ef63ab7e2 (diff) | |
parent | 40fb61392cee9a4086494b229a879281664c1ef3 (diff) | |
download | nixlib-a1d6e74ef43253d1cc4573b2c60260e063dc3852.tar nixlib-a1d6e74ef43253d1cc4573b2c60260e063dc3852.tar.gz nixlib-a1d6e74ef43253d1cc4573b2c60260e063dc3852.tar.bz2 nixlib-a1d6e74ef43253d1cc4573b2c60260e063dc3852.tar.lz nixlib-a1d6e74ef43253d1cc4573b2c60260e063dc3852.tar.xz nixlib-a1d6e74ef43253d1cc4573b2c60260e063dc3852.tar.zst nixlib-a1d6e74ef43253d1cc4573b2c60260e063dc3852.zip |
Merge pull request #23351 from ndowens/tpm-quote-tools
tpm-quote-tools: 1.0.2 -> 1.0.3
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/security/tpm-quote-tools/default.nix | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/pkgs/tools/security/tpm-quote-tools/default.nix b/pkgs/tools/security/tpm-quote-tools/default.nix index b294c1c9feb8..7ffe8e51eacd 100644 --- a/pkgs/tools/security/tpm-quote-tools/default.nix +++ b/pkgs/tools/security/tpm-quote-tools/default.nix @@ -1,16 +1,23 @@ { stdenv, fetchurl, trousers, openssl }: -stdenv.mkDerivation { - name = "tpm-quote-tools-1.0.2"; +stdenv.mkDerivation rec { + name = "tpm-quote-tools-${version}"; + version = "1.0.3"; - src = fetchurl { - url = "mirror://sourceforge/project/tpmquotetools/1.0.2/tpm-quote-tools-1.0.2.tar.gz"; - sha256 = "17bf9d1hiiaybx6rgl0sqcb0prjz6d2mv8fwp4bj1c0rsfw5dbk8"; + src = fetchurl { + url = "mirror://sourceforge/project/tpmquotetools/${version}/${name}.tar.gz"; + sha256 = "1d6ry2c78sgv0z4phfrwrbvgag83xnnfri2cdzrd86w4yfgnfwdf"; }; buildInputs = [ trousers openssl ]; - meta = with stdenv.lib; { + postFixup = '' + patchelf \ + --set-rpath "${stdenv.lib.makeLibraryPath [ openssl ]}:$(patchelf --print-rpath $out/bin/tpm_mkaik)" \ + $out/bin/tpm_mkaik + ''; + + meta = with stdenv.lib; { description = "A collection of programs that provide support for TPM based attestation using the TPM quote mechanism"; longDescription = '' The TPM Quote Tools is a collection of programs that provide support @@ -19,7 +26,7 @@ stdenv.mkDerivation { ''; homepage = http://tpmquotetools.sourceforge.net/; license = licenses.bsd3; - maintainers = [ maintainers.ak ]; + maintainers = with maintainers; [ ak ndowens ]; platforms = platforms.linux; }; } |