summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-12-21 12:24:52 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-02-01 15:25:32 +0100
commit48cb9f63bb3d38d22038eb55b05bfba6a245cf0a (patch)
tree6e04a4077f8293cd5d9da4466773c2e63bc87d41
parent76e42b9a3186a80e022546fd084a54f593ef729b (diff)
fixup! tpm2-tss-engine: init at 1.1.0init-tpm2-tss-engine
-rw-r--r--pkgs/tools/security/tpm2-tss-engine/default.nix40
1 files changed, 29 insertions, 11 deletions
diff --git a/pkgs/tools/security/tpm2-tss-engine/default.nix b/pkgs/tools/security/tpm2-tss-engine/default.nix
index f24b8028abbd..192d9709ee70 100644
--- a/pkgs/tools/security/tpm2-tss-engine/default.nix
+++ b/pkgs/tools/security/tpm2-tss-engine/default.nix
@@ -2,10 +2,17 @@
, fetchFromGitHub
, lib
, pkg-config
+, autoreconfHook
+, autoconf
+, autoconf-archive
+, automake
+, libtool
, makeWrapper
, curl
, openssl
, tpm2-tss
+, pandoc
+, doxygen
}:
stdenv.mkDerivation rec {
@@ -19,21 +26,32 @@ stdenv.mkDerivation rec {
sha256 = "1pwc38izkk50s73xzcca1l5h265lmh4hcgpfq8lmbv5grq2qdal8";
};
- nativeBuildInputs = [ pkg-config makeWrapper ];
+ nativeBuildInputs = [
+ pkg-config
+ makeWrapper
+ autoreconfHook
+ autoconf
+ autoconf-archive
+ automake
+ libtool
+ pandoc
+ doxygen
+ ];
+
buildInputs = [
curl openssl tpm2-tss
];
- #preFixup = let
- # ldLibraryPath = lib.makeLibraryPath ([
- # tpm2-tss
- # ];
- #in ''
- # for bin in $out/bin/*; do
- # wrapProgram $bin \
- # --suffix LD_LIBRARY_PATH : "${ldLibraryPath}"
- # done
- #'';
+ preFixup = let
+ ldLibraryPath = lib.makeLibraryPath ([
+ tpm2-tss
+ ]);
+ in ''
+ for bin in $out/bin/*; do
+ wrapProgram $bin \
+ --suffix LD_LIBRARY_PATH : "${ldLibraryPath}"
+ done
+ '';
meta = with lib; {
description = "OpenSSL Engine for TPM2 devices";