nixpkgs/pkgs/os-specific/linux/trinity/default.nix
Anna Lee 3655645e4c trinity: 1.9 -> 1.9-unstable-2023-07-10; fix build
tags not updated since 2019. updating to last commit puts nixpkgs on par
with debian/ubuntu/Devuan/Kali distributions.

update homepage to github (same as debian) as old page
https://codemonkey.org.uk/projects/trinity/ is not reachable.
2023-11-16 11:59:16 -03:00

31 lines
725 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "trinity";
version = "1.9-unstable-2023-07-10";
src = fetchFromGitHub {
owner = "kernelslacker";
repo = "trinity";
rev = "e71872454d26baf37ae1d12e9b04a73d64179555";
hash = "sha256-Zy+4L1CuB2Ul5iF+AokDkAW1wheDzoCTNkvRZFGRNps=";
};
postPatch = ''
patchShebangs configure
patchShebangs scripts
'';
enableParallelBuilding = true;
installFlags = [ "DESTDIR=$(out)" ];
meta = with lib; {
description = "A Linux System call fuzz tester";
homepage = "https://github.com/kernelslacker/trinity";
license = licenses.gpl2Only;
maintainers = [ maintainers.dezgeg ];
platforms = platforms.linux;
};
}