pkgs/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 17:12:36 +07:00
parent 94f3683935
commit 8c5d37129f
916 changed files with 2510 additions and 2510 deletions
@@ -1,10 +1,10 @@
{ lib, stdenv, fetchurl, trousers, openssl }:
stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
pname = "tpm-quote-tools";
version = "1.0.4";
src = fetchurl {
src = fetchurl {
url = "mirror://sourceforge/project/tpmquotetools/${version}/${pname}-${version}.tar.gz";
sha256 = "1qjs83xb4np4yn1bhbjfhvkiika410v8icwnjix5ad96w2nlxp0h";
};
@@ -13,11 +13,11 @@ stdenv.mkDerivation rec {
postFixup = ''
patchelf \
--set-rpath "${stdenv.lib.makeLibraryPath [ openssl ]}:$(patchelf --print-rpath $out/bin/tpm_mkaik)" \
--set-rpath "${lib.makeLibraryPath [ openssl ]}:$(patchelf --print-rpath $out/bin/tpm_mkaik)" \
$out/bin/tpm_mkaik
'';
meta = with lib; {
meta = with 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