nixpkgs/pkgs/os-specific/linux/ima-evm-utils/default.nix

28 lines
953 B
Nix
Raw Normal View History

2015-08-04 00:10:13 +01:00
{ stdenv, fetchgit, autoreconfHook, pkgconfig, openssl, attr, keyutils, asciidoc, libxslt, docbook_xsl }:
stdenv.mkDerivation rec {
pname = "ima-evm-utils";
2019-03-10 20:12:58 +00:00
version = "1.1";
2015-08-04 00:10:13 +01:00
src = fetchgit {
url = "git://git.code.sf.net/p/linux-ima/ima-evm-utils";
2019-03-10 20:12:58 +00:00
rev = "v${version}";
sha256 = "1dhfw6d9z4dv82q9zg2g025hgr179kamz9chy7v5w9b71aam8jf8";
2015-08-04 00:10:13 +01:00
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ openssl attr keyutils asciidoc libxslt ];
2015-08-04 00:10:13 +01:00
patches = [ ./xattr.patch ];
2015-08-04 00:10:13 +01:00
buildPhase = "make prefix=$out MANPAGE_DOCBOOK_XSL=${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl";
meta = {
description = "evmctl utility to manage digital signatures of the Linux kernel integrity subsystem (IMA/EVM)";
homepage = "https://sourceforge.net/projects/linux-ima/";
2015-08-04 00:10:13 +01:00
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ tstrobel ];
};
}