nixpkgs/pkgs/os-specific/linux/trinity/default.nix

31 lines
723 B
Nix
Raw Normal View History

{ stdenv, fetchurl, fetchFromGitHub, linuxHeaders }:
2015-04-24 23:01:10 +02:00
stdenv.mkDerivation rec {
name = "trinity-${version}";
2017-11-08 15:19:38 +01:00
version = "1.8";
2015-04-24 23:01:10 +02:00
src = fetchFromGitHub {
owner = "kernelslacker";
repo = "trinity";
rev = "v${version}";
2017-11-08 15:19:38 +01:00
sha256 = "1ss6ir3ki2hnj4c8068v5bz8bpa43xqg9zlmzhgagi94g9l05qlf";
2015-04-24 23:01:10 +02:00
};
postPatch = ''
2017-11-08 15:19:38 +01:00
patchShebangs ./configure
2015-04-24 23:01:10 +02:00
patchShebangs ./scripts/
'';
enableParallelBuilding = true;
2015-04-24 23:01:10 +02:00
installPhase = "make DESTDIR=$out install";
meta = with stdenv.lib; {
description = "A Linux System call fuzz tester";
homepage = http://codemonkey.org.uk/projects/trinity/;
license = licenses.gpl2;
maintainers = [ maintainers.dezgeg ];
platforms = platforms.linux;
};
}