2014-08-12 19:38:15 +02:00
|
|
|
{ stdenv, fetchurl, openssl }:
|
2013-08-14 08:16:52 +02:00
|
|
|
|
2014-08-12 19:38:15 +02:00
|
|
|
let
|
|
|
|
ver_maj = "0.3.11";
|
|
|
|
ver_min = "2";
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "trousers-${ver_maj}.${ver_min}";
|
2013-08-14 08:16:52 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-08-12 19:38:15 +02:00
|
|
|
url = "mirror://sourceforge/trousers/trousers/${ver_maj}/${name}.tar.gz";
|
|
|
|
sha256 = "1m9qi4452jr5yy4y9zyfi5ndwam5krq7ny8z2q3f91v1hcjgk5la";
|
2013-08-14 08:16:52 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
|
|
|
patches = [ # ./double-installed-man-page.patch
|
|
|
|
./disable-install-rule.patch
|
|
|
|
./allow-non-tss-config-file-owner.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-DALLOW_NON_TSS_CONFIG_FILE";
|
|
|
|
NIX_LDFLAGS = "-lgcc_s";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Trusted computing software stack";
|
2013-08-14 08:16:52 +02:00
|
|
|
homepage = http://trousers.sourceforge.net/;
|
2014-04-23 15:13:59 +02:00
|
|
|
license = licenses.cpl10;
|
2014-04-22 14:04:36 +02:00
|
|
|
maintainers = [ maintainers.ak ];
|
2013-08-14 08:16:52 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|
2014-08-12 19:38:15 +02:00
|
|
|
|