git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #8631 from ts468/upstream.tpm_luks

tmp-luks: init at version 0.9pre

commit3ce7eeb270706af8c311923a30d9394a2a527e99 authorArseniy Seroka <jagajaga@users.noreply.github.com> dateSun 5 Jul 2015, 01:03 (11 years ago) parent0f2f98f36f2ec8
2 files changed+31
pkgs/tools/security/tpm-luks/default.nix+29 pkgs/top-level/all-packages.nix+2
pkgs/tools/security/tpm-luks/default.nixnew file+29
@@ -0,0 +1,29 @@
1+{ stdenv, fetchgit, autoreconfHook, gawk, trousers, cryptsetup, openssl }:
2+
3+stdenv.mkDerivation rec {
4+ name = "tpm-luks-${version}";
5+ version = "0.9pre";
6+
7+ src = fetchgit {
8+ url = "https://github.com/shpedoikal/tpm-luks/";
9+ rev = "3fa3ea4bbd34b5b02e9271e775a338fa49dc834f";
10+ sha256 = "37a56f05ad492d3128b07b3cb9dbf85ba8a0dd791329323fb398eb1026dfc89c";
11+ };
12+
13+ buildInputs = [ autoreconfHook gawk trousers cryptsetup openssl ];
14+
15+ installPhase = ''
16+ mkdir -p $out
17+ make install DESTDIR=$out
18+ mv $out/$out/sbin $out/bin
19+ rm -r $out/nix
20+ '';
21+
22+ meta = with stdenv.lib; {
23+ description = "LUKS key storage in TPM NVRAM";
24+ homepage = https://github.com/shpedoikal/tpm-luks/;
25+ maintainers = [ maintainers.tstrobel ];
26+ platforms = platforms.linux;
27+ };
28+}
29+
pkgs/top-level/all-packages.nix+2
@@ -3103,6 +3103,8 @@ let
31033103
31043104 tpm-tools = callPackage ../tools/security/tpm-tools { };
31053105
3106+ tpm-luks = callPackage ../tools/security/tpm-luks { };
3107+
31063108 chaps = callPackage ../tools/security/chaps { };
31073109
31083110 trace-cmd = callPackage ../os-specific/linux/trace-cmd { };