nixpkgs/pkgs/os-specific/linux/pax-utils/default.nix

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

54 lines
1.4 KiB
Nix
Raw Normal View History

{ stdenv
, lib
, fetchurl
, buildPackages
, docbook_xml_dtd_44
, docbook_xsl
, libcap
, pkg-config
, meson
, ninja
, xmlto
, python3
, gitUpdater
}:
stdenv.mkDerivation rec {
2019-07-09 16:17:19 +03:00
pname = "pax-utils";
version = "1.3.5";
src = fetchurl {
url = "mirror://gentoo/distfiles/${pname}-${version}.tar.xz";
sha256 = "sha256-8KWwPfIwiqLdeq9TuewLK0hFW4YSnkd6FkPeYpBKuHQ=";
};
2021-10-30 13:31:23 +03:00
strictDeps = true;
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ docbook_xml_dtd_44 docbook_xsl meson ninja pkg-config xmlto ];
buildInputs = [ libcap ];
# Needed for lddtree
propagatedBuildInputs = [ (python3.withPackages (p: with p; [ pyelftools ])) ];
passthru.updateScript = gitUpdater {
inherit pname version;
url = "https://anongit.gentoo.org/git/proj/pax-utils.git";
rev-prefix = "v";
};
2019-07-09 16:17:19 +03:00
meta = with lib; {
description = "ELF utils that can check files for security relevant properties";
longDescription = ''
A suite of ELF tools to aid auditing systems. Contains
various ELF related utils for ELF32, ELF64 binaries useful
for displaying PaX and security info on a large groups of
binary files.
'';
2019-07-09 16:17:19 +03:00
homepage = "https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities";
2021-09-05 12:13:58 +03:00
license = licenses.gpl2Only;
platforms = platforms.unix;
2016-11-21 00:28:46 +03:00
maintainers = with maintainers; [ thoughtpolice joachifm ];
};
}