1 { lib, stdenv, fetchurl, openssl, pkg-config, autoreconfHook }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/trousers/trousers/${version}/${pname}-${version}.tar.gz";
9 sha256 = "0zy7r9cnr2gvwr2fb1q4fc5xnvx405ymcbrdv7qsqwl3a4zfjnqy";
12 nativeBuildInputs = [ pkg-config autoreconfHook ];
13 buildInputs = [ openssl ];
15 patches = [ ./allow-non-tss-config-file-owner.patch ];
17 configureFlags = [ "--disable-usercheck" ];
19 env.NIX_CFLAGS_COMPILE = toString [ "-DALLOW_NON_TSS_CONFIG_FILE" ];
20 enableParallelBuilding = true;
23 description = "Trusted computing software stack";
25 homepage = "https://trousers.sourceforge.net/";
26 license = licenses.bsd3;
27 maintainers = [ maintainers.ak ];
28 platforms = platforms.linux;