ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / tr / trousers / package.nix
blob43d0941b47b6980214587a0cc702d00ce5c0ccb3
1 { lib, stdenv, fetchurl, openssl, pkg-config, autoreconfHook }:
3 stdenv.mkDerivation rec {
4   pname = "trousers";
5   version = "0.3.15";
7   src = fetchurl {
8     url = "mirror://sourceforge/trousers/trousers/${version}/${pname}-${version}.tar.gz";
9     sha256 = "0zy7r9cnr2gvwr2fb1q4fc5xnvx405ymcbrdv7qsqwl3a4zfjnqy";
10   };
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;
22   meta = with lib; {
23     description = "Trusted computing software stack";
24     mainProgram = "tcsd";
25     homepage    = "https://trousers.sourceforge.net/";
26     license     = licenses.bsd3;
27     maintainers = [ maintainers.ak ];
28     platforms   = platforms.linux;
29   };