1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 08:31:59 +00:00
nixpkgs/pkgs/os-specific/linux/trinity/default.nix
2017-11-09 10:53:33 +02:00

31 lines
723 B
Nix

{ stdenv, fetchurl, fetchFromGitHub, linuxHeaders }:
stdenv.mkDerivation rec {
name = "trinity-${version}";
version = "1.8";
src = fetchFromGitHub {
owner = "kernelslacker";
repo = "trinity";
rev = "v${version}";
sha256 = "1ss6ir3ki2hnj4c8068v5bz8bpa43xqg9zlmzhgagi94g9l05qlf";
};
postPatch = ''
patchShebangs ./configure
patchShebangs ./scripts/
'';
enableParallelBuilding = true;
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;
};
}