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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
930 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchgit
, autoreconfHook
, pkg-config
, openssl
, keyutils
, asciidoc
, libxslt
, docbook_xsl
}:
2015-08-03 23:10:13 +00:00
stdenv.mkDerivation rec {
pname = "ima-evm-utils";
2023-04-17 20:14:17 +00:00
version = "1.5";
2015-08-03 23:10:13 +00: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}";
2023-04-17 20:14:17 +00:00
sha256 = "sha256-WPBG7v29JHZ+ZGeLgA2gtLzZmaG0Xdvpq+BZ6NriY+A=";
2015-08-03 23:10:13 +00:00
};
strictDeps = true;
2015-08-03 23:10:13 +00:00
nativeBuildInputs = [
autoreconfHook
pkg-config
asciidoc
libxslt
];
buildInputs = [
openssl
keyutils
];
env.MANPAGE_DOCBOOK_XSL = "${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl";
2015-08-03 23:10:13 +00:00
meta = {
description = "evmctl utility to manage digital signatures of the Linux kernel integrity subsystem (IMA/EVM)";
homepage = "https://sourceforge.net/projects/linux-ima/";
2021-01-15 14:45:37 +00:00
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ nickcao ];
2015-08-03 23:10:13 +00:00
};
}