Created
March 2, 2017 23:45
-
-
Save Mic92/1d8342cae0b059147ff736c9b8c13b5b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, fetchurl, trousers, openssl }: | |
stdenv.mkDerivation rec { | |
name = "tpm-quote-tools-${version}"; | |
version = "1.0.3"; | |
src = fetchurl { | |
url = "mirror://sourceforge/project/tpmquotetools/${version}/${name}.tar.gz"; | |
sha256 = "1d6ry2c78sgv0z4phfrwrbvgag83xnnfri2cdzrd86w4yfgnfwdf"; | |
}; | |
buildInputs = [ trousers openssl ]; | |
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 | |
for TPM based attestation using the TPM quote mechanism. The manual | |
page for tpm_quote_tools provides a usage overview. | |
''; | |
homepage = http://tpmquotetools.sourceforge.net/; | |
license = licenses.bsd3; | |
maintainers = with maintainers; [ ak ndowens ]; | |
platforms = platforms.linux; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment