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