2023-06-19 10:29:35 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchgit
|
|
|
|
, autoreconfHook
|
|
|
|
, pkg-config
|
|
|
|
, openssl
|
|
|
|
, keyutils
|
|
|
|
, asciidoc
|
|
|
|
, libxslt
|
|
|
|
, docbook_xsl
|
|
|
|
}:
|
2015-08-03 23:10:13 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
|
2023-06-19 10:29:35 +00:00
|
|
|
strictDeps = true;
|
2015-08-03 23:10:13 +00:00
|
|
|
|
2023-06-19 10:29:35 +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)";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://sourceforge.net/projects/linux-ima/";
|
2021-01-15 14:45:37 +00:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
2023-08-08 01:49:26 +00:00
|
|
|
maintainers = with lib.maintainers; [ nickcao ];
|
2015-08-03 23:10:13 +00:00
|
|
|
};
|
|
|
|
}
|