python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / security / trousers / default.nix
blob16536409b5e6f133e897166b64c818963a325053
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   NIX_CFLAGS_COMPILE = [ "-DALLOW_NON_TSS_CONFIG_FILE" ];
20   enableParallelBuilding = true;
22   meta = with lib; {
23     description = "Trusted computing software stack";
24     homepage    = "http://trousers.sourceforge.net/";
25     license     = licenses.bsd3;
26     maintainers = [ maintainers.ak ];
27     platforms   = platforms.linux;
28   };