summary refs log tree commit diff
path: root/pkgs/tools/security/tpm-tools/default.nix
diff options
context:
space:
mode:
authorAlexander Kjeldaas <ak@formalprivacy.com>2013-08-14 08:16:52 +0200
committerAlexander Kjeldaas <ak@formalprivacy.com>2014-04-22 13:24:44 +0200
commitdbe8d7ad030206987910057a9cfb0bd90a8b5c15 (patch)
tree7b7a00af8e30bd94733b844089ce3d9b00748b6a /pkgs/tools/security/tpm-tools/default.nix
parent396da207391b3b16d511b6fa6bbed035af82a6e8 (diff)
downloadnixlib-dbe8d7ad030206987910057a9cfb0bd90a8b5c15.tar
nixlib-dbe8d7ad030206987910057a9cfb0bd90a8b5c15.tar.gz
nixlib-dbe8d7ad030206987910057a9cfb0bd90a8b5c15.tar.bz2
nixlib-dbe8d7ad030206987910057a9cfb0bd90a8b5c15.tar.lz
nixlib-dbe8d7ad030206987910057a9cfb0bd90a8b5c15.tar.xz
nixlib-dbe8d7ad030206987910057a9cfb0bd90a8b5c15.tar.zst
nixlib-dbe8d7ad030206987910057a9cfb0bd90a8b5c15.zip
Added trousers, tpm-tools, and tboot.
Added lcp_writepol -Z option.
Diffstat (limited to 'pkgs/tools/security/tpm-tools/default.nix')
-rw-r--r--pkgs/tools/security/tpm-tools/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/tools/security/tpm-tools/default.nix b/pkgs/tools/security/tpm-tools/default.nix
new file mode 100644
index 000000000000..f8c6ead3d2a6
--- /dev/null
+++ b/pkgs/tools/security/tpm-tools/default.nix
@@ -0,0 +1,12 @@
+{stdenv, fetchurl, autoconf, automake, trousers, openssl}:
+
+stdenv.mkDerivation {
+  name = "tpm-tools-1.3.8";
+
+  src = fetchurl {
+    url = https://sourceforge.net/projects/trousers/files/tpm-tools/1.3.8/tpm-tools-1.3.8.tar.gz;
+    sha256 = "10za1gi89vi9m2lmm7jfzs281h55x1sbbm2bdgdh692ljpq4zsv6";
+  };
+
+  buildInputs = [ trousers openssl ];
+}