nixpkgs-suyu/pkgs/os-specific/linux/pax-utils/default.nix
Alyssa Ross 02dfbde639
treewide: use mirror URLs where available
Candidates identified with

	git grep -F "$(grep -v '#' pkgs/build-support/fetchurl/mirrors.nix |
		grep -v nixos.org | grep :// | cut -d '"' -f 2)"

and then manually reviewed and tested.
2021-11-06 01:56:39 +00:00

27 lines
849 B
Nix

{ stdenv, lib, fetchurl }:
stdenv.mkDerivation rec {
pname = "pax-utils";
version = "1.3.3";
src = fetchurl {
url = "mirror://gentoo/distfiles/${pname}-${version}.tar.xz";
sha256 = "sha256-7sp/vZi8Zr6tSncADCAl2fF+qCAbhCRYgkBs4AubaxQ=";
};
makeFlags = [ "PREFIX=$(out)" ];
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.
'';
homepage = "https://wiki.gentoo.org/wiki/Hardened/PaX_Utilities";
license = licenses.gpl2Only;
platforms = platforms.unix;
maintainers = with maintainers; [ thoughtpolice joachifm ];
};
}