depot/third_party/nixpkgs/pkgs/os-specific/linux/trinity/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

30 lines
677 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "trinity";
version = "1.9";
src = fetchFromGitHub {
owner = "kernelslacker";
repo = "trinity";
rev = "v${version}";
sha256 = "0z1a7x727xacam74jccd223k303sllgwpq30lnq9b6xxy8b659bv";
};
postPatch = ''
patchShebangs configure
patchShebangs scripts
'';
enableParallelBuilding = true;
makeFlags = [ "DESTDIR=$(out)" ];
meta = with stdenv.lib; {
description = "A Linux System call fuzz tester";
homepage = "https://codemonkey.org.uk/projects/trinity/";
license = licenses.gpl2;
maintainers = [ maintainers.dezgeg ];
platforms = platforms.linux;
};
}