nixpkgs/pkgs/tools/security/trousers/default.nix
Alex Guzman 82dfacc7fe trousers: 0.3.13 -> 0.3.14
* Update trousers to latest, use regular openssl (#68338)

trousers: cleanup

* some CFLAGS and LDFLAGS are not needed anymore

* libtool file fixup was a no-op

* license is now BSD-3 since:
0160d229f8/
2019-11-11 19:43:14 +01:00

32 lines
830 B
Nix

{ stdenv, fetchurl, openssl, pkgconfig }:
stdenv.mkDerivation rec {
pname = "trousers";
version = "0.3.14";
src = fetchurl {
url = "mirror://sourceforge/trousers/trousers/${version}/${pname}-${version}.tar.gz";
sha256 = "0iwgsbrbb7nfqgl61x8aailwxm8akxh9gkcwxhsvf50x4qx72l6f";
};
sourceRoot = ".";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl ];
patches = [ ./allow-non-tss-config-file-owner.patch ];
configureFlags = [ "--disable-usercheck" ];
NIX_CFLAGS_COMPILE = [ "-DALLOW_NON_TSS_CONFIG_FILE" ];
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Trusted computing software stack";
homepage = http://trousers.sourceforge.net/;
license = licenses.bsd3;
maintainers = [ maintainers.ak ];
platforms = platforms.linux;
};
}