nixpkgs/pkgs/by-name/tr/trinity/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
861 B
Nix
Raw Normal View History

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";
version = "1.9-unstable-2024-09-19";
2015-04-24 21:01:10 +00:00
src = fetchFromGitHub {
owner = "kernelslacker";
repo = "trinity";
rev = "ba2360ed84a8c521d9c34af9c909315ea7c62aad";
hash = "sha256-lj27EtMzj+ULrAJh27rjiuL3/SzW/NRMG65l8sBi8k4=";
2015-04-24 21:01:10 +00:00
};
postPatch = ''
2019-05-28 18:39:26 +00:00
patchShebangs configure
patchShebangs scripts
2015-04-24 21:01:10 +00:00
'';
enableParallelBuilding = true;
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";
mainProgram = "trinity";
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
})