1 { lib, stdenv, fetchFromGitHub, autoreconfHook, gawk, trousers, cryptsetup, openssl }:
5 version = "unstable-2015-07-11";
7 src = fetchFromGitHub {
10 rev = "c9c5b7fdddbcdac1cd4d2ea6baddd0617cc88ffa";
11 sha256 = "sha256-HHyZLZAXfmuimpHV8fOWldZmi4I5uV1NnSmP4E7ZQtc=";
19 nativeBuildInputs = [ autoreconfHook ];
20 buildInputs = [ gawk trousers cryptsetup openssl ];
24 make install DESTDIR=$out
25 mv $out/$out/sbin $out/bin
30 description = "LUKS key storage in TPM NVRAM";
31 homepage = "https://github.com/shpedoikal/tpm-luks/";
33 license = with licenses; [ gpl2Only ];
34 platforms = platforms.linux;