nixpkgs/pkgs/os-specific/linux/trinity/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

32 lines
752 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 = "Linux System call fuzz tester";
mainProgram = "trinity";
homepage = "https://github.com/kernelslacker/trinity";
license = licenses.gpl2Only;
maintainers = [ maintainers.dezgeg ];
platforms = platforms.linux;
};
}