2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2015-04-24 22:01:10 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-28 19:39:26 +01:00
|
|
|
pname = "trinity";
|
2019-06-01 15:18:26 +01:00
|
|
|
version = "1.9";
|
2015-04-24 22:01:10 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kernelslacker";
|
|
|
|
repo = "trinity";
|
2019-06-01 15:18:26 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0z1a7x727xacam74jccd223k303sllgwpq30lnq9b6xxy8b659bv";
|
2015-04-24 22:01:10 +01:00
|
|
|
};
|
|
|
|
|
2017-03-01 16:03:30 +00:00
|
|
|
postPatch = ''
|
2019-05-28 19:39:26 +01:00
|
|
|
patchShebangs configure
|
|
|
|
patchShebangs scripts
|
2015-04-24 22:01:10 +01:00
|
|
|
'';
|
|
|
|
|
2017-03-01 16:03:30 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2018-08-09 20:04:08 +01:00
|
|
|
makeFlags = [ "DESTDIR=$(out)" ];
|
2015-04-24 22:01:10 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-04-24 22:01:10 +01:00
|
|
|
description = "A Linux System call fuzz tester";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://codemonkey.org.uk/projects/trinity/";
|
2015-04-24 22:01:10 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.dezgeg ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|