2023-11-14 01:19:27 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
2015-04-24 21:01:10 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-28 18:39:26 +00:00
|
|
|
pname = "trinity";
|
2023-11-14 01:19:27 +00:00
|
|
|
version = "1.9-unstable-2023-07-10";
|
2015-04-24 21:01:10 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kernelslacker";
|
|
|
|
repo = "trinity";
|
2023-11-14 01:19:27 +00:00
|
|
|
rev = "e71872454d26baf37ae1d12e9b04a73d64179555";
|
|
|
|
hash = "sha256-Zy+4L1CuB2Ul5iF+AokDkAW1wheDzoCTNkvRZFGRNps=";
|
2015-04-24 21:01:10 +00:00
|
|
|
};
|
|
|
|
|
2017-03-01 16:03:30 +00:00
|
|
|
postPatch = ''
|
2019-05-28 18:39:26 +00:00
|
|
|
patchShebangs configure
|
|
|
|
patchShebangs scripts
|
2015-04-24 21:01:10 +00:00
|
|
|
'';
|
|
|
|
|
2017-03-01 16:03:30 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2023-11-14 01:19:27 +00:00
|
|
|
installFlags = [ "DESTDIR=$(out)" ];
|
2015-04-24 21:01:10 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-04-24 21:01:10 +00:00
|
|
|
description = "A Linux System call fuzz tester";
|
2023-11-14 01:19:27 +00:00
|
|
|
homepage = "https://github.com/kernelslacker/trinity";
|
|
|
|
license = licenses.gpl2Only;
|
2015-04-24 21:01:10 +00:00
|
|
|
maintainers = [ maintainers.dezgeg ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|