nixpkgs-suyu/pkgs/tools/security/trousers/default.nix

32 lines
832 B
Nix
Raw Normal View History

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