mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
28 lines
939 B
Nix
28 lines
939 B
Nix
{ lib, stdenv, fetchgit, autoreconfHook, pkg-config, openssl, attr, keyutils, asciidoc, libxslt, docbook_xsl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ima-evm-utils";
|
|
version = "1.1";
|
|
|
|
src = fetchgit {
|
|
url = "git://git.code.sf.net/p/linux-ima/ima-evm-utils";
|
|
rev = "v${version}";
|
|
sha256 = "1dhfw6d9z4dv82q9zg2g025hgr179kamz9chy7v5w9b71aam8jf8";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
buildInputs = [ openssl attr keyutils asciidoc libxslt ];
|
|
|
|
patches = [ ./xattr.patch ];
|
|
|
|
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/";
|
|
license = lib.licenses.gpl2;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [ tstrobel ];
|
|
};
|
|
}
|