1 { lib, stdenv, fetchurl, paxctl }:
3 stdenv.mkDerivation rec {
8 url = "https://www.grsecurity.net/~spender/${pname}-${version}.tar.gz";
9 sha256 = "0zv6vlaszlik98gj9200sv0irvfzrvjn46rnr2v2m37x66288lym";
12 enableParallelBuilding = true;
14 makefile = "Makefile.psm";
15 makeFlags = [ "PAXBIN=${paxctl}/bin/paxctl" "BINDIR=$(out)/bin" "RUNDIR=$(out)/lib/paxtest" ];
16 installFlags = [ "DESTDIR=\"\"" ];
19 description = "Test various memory protection measures";
20 mainProgram = "paxtest";
21 license = licenses.gpl2Only;
22 platforms = platforms.linux;
23 maintainers = with maintainers; [ copumpkin joachifm ];