2015-04-25 02:36:38 -07:00
|
|
|
{ stdenv, fetchurl, openssl, pkgconfig }:
|
2013-08-13 23:16:52 -07:00
|
|
|
|
2014-08-12 10:38:15 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "trousers";
|
2019-11-11 10:43:14 -08:00
|
|
|
version = "0.3.14";
|
2013-08-13 23:16:52 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "mirror://sourceforge/trousers/trousers/${version}/${pname}-${version}.tar.gz";
|
2019-11-11 10:43:14 -08:00
|
|
|
sha256 = "0iwgsbrbb7nfqgl61x8aailwxm8akxh9gkcwxhsvf50x4qx72l6f";
|
2013-08-13 23:16:52 -07:00
|
|
|
};
|
|
|
|
|
2019-11-11 10:43:14 -08:00
|
|
|
sourceRoot = ".";
|
|
|
|
|
2017-09-05 14:26:13 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ openssl ];
|
2013-08-13 23:16:52 -07:00
|
|
|
|
2014-10-13 16:53:35 -07:00
|
|
|
patches = [ ./allow-non-tss-config-file-owner.patch ];
|
|
|
|
|
|
|
|
configureFlags = [ "--disable-usercheck" ];
|
2013-08-13 23:16:52 -07:00
|
|
|
|
2019-11-11 10:43:14 -08:00
|
|
|
NIX_CFLAGS_COMPILE = [ "-DALLOW_NON_TSS_CONFIG_FILE" ];
|
|
|
|
enableParallelBuilding = true;
|
2015-04-25 02:36:38 -07:00
|
|
|
|
2013-08-13 23:16:52 -07:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-24 07:21:08 -07:00
|
|
|
description = "Trusted computing software stack";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "http://trousers.sourceforge.net/";
|
2019-11-11 10:43:14 -08:00
|
|
|
license = licenses.bsd3;
|
2014-04-22 05:04:36 -07:00
|
|
|
maintainers = [ maintainers.ak ];
|
2017-09-22 11:03:17 -07:00
|
|
|
platforms = platforms.linux;
|
2013-08-13 23:16:52 -07:00
|
|
|
};
|
|
|
|
}
|