2024-11-12 13:50:51 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
2024-11-12 13:51:49 +00:00
|
|
|
unstableGitUpdater,
|
2024-11-12 13:50:51 +00:00
|
|
|
}:
|
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";
|
2024-11-12 13:56:16 +00:00
|
|
|
version = "1.9-unstable-2024-09-19";
|
2015-04-24 21:01:10 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "kernelslacker";
|
|
|
|
repo = "trinity";
|
2024-11-12 13:56:16 +00:00
|
|
|
rev = "ba2360ed84a8c521d9c34af9c909315ea7c62aad";
|
|
|
|
hash = "sha256-lj27EtMzj+ULrAJh27rjiuL3/SzW/NRMG65l8sBi8k4=";
|
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:51:49 +00:00
|
|
|
passthru.updateScript = unstableGitUpdater { tagPrefix = "v"; };
|
|
|
|
|
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
|
|
|
})
|