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 NIX_CFLAGS_COMPILE = [ "-DALLOW_NON_TSS_CONFIG_FILE" ];
20 enableParallelBuilding = true;
23 description = "Trusted computing software stack";
24 homepage = "http://trousers.sourceforge.net/";
25 license = licenses.bsd3;
26 maintainers = [ maintainers.ak ];
27 platforms = platforms.linux;