2024-11-12 13:50:51 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
}:
|
2015-04-24 21:01:10 +00:00
|
|
|
|
2024-11-12 13:50:51 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
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
|
|
|
|
2024-11-12 13:50:51 +00:00
|
|
|
meta = {
|
2015-04-24 21:01:10 +00:00
|
|
|
description = "Linux System call fuzz tester";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "trinity";
|
2023-11-14 01:19:27 +00:00
|
|
|
homepage = "https://github.com/kernelslacker/trinity";
|
2024-11-12 13:50:51 +00:00
|
|
|
license = lib.licenses.gpl2Only;
|
|
|
|
maintainers = [ lib.maintainers.dezgeg ];
|
|
|
|
platforms = lib.platforms.linux;
|
2015-04-24 21:01:10 +00:00
|
|
|
};
|
2024-11-12 13:50:51 +00:00
|
|
|
})
|