Merge pull request #23351 from ndowens/tpm-quote-tools
tpm-quote-tools: 1.0.2 -> 1.0.3
This commit is contained in:
commit
a1d6e74ef4
|
@ -1,16 +1,23 @@
|
||||||
{ stdenv, fetchurl, trousers, openssl }:
|
{ stdenv, fetchurl, trousers, openssl }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "tpm-quote-tools-1.0.2";
|
name = "tpm-quote-tools-${version}";
|
||||||
|
version = "1.0.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/project/tpmquotetools/1.0.2/tpm-quote-tools-1.0.2.tar.gz";
|
url = "mirror://sourceforge/project/tpmquotetools/${version}/${name}.tar.gz";
|
||||||
sha256 = "17bf9d1hiiaybx6rgl0sqcb0prjz6d2mv8fwp4bj1c0rsfw5dbk8";
|
sha256 = "1d6ry2c78sgv0z4phfrwrbvgag83xnnfri2cdzrd86w4yfgnfwdf";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ trousers openssl ];
|
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";
|
description = "A collection of programs that provide support for TPM based attestation using the TPM quote mechanism";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
The TPM Quote Tools is a collection of programs that provide support
|
The TPM Quote Tools is a collection of programs that provide support
|
||||||
|
@ -19,7 +26,7 @@ stdenv.mkDerivation {
|
||||||
'';
|
'';
|
||||||
homepage = http://tpmquotetools.sourceforge.net/;
|
homepage = http://tpmquotetools.sourceforge.net/;
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = [ maintainers.ak ];
|
maintainers = with maintainers; [ ak ndowens ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue