mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
trinity: init at version 1.5
This commit is contained in:
parent
fd15fe4f09
commit
7453f378ea
2 changed files with 33 additions and 0 deletions
31
pkgs/os-specific/linux/trinity/default.nix
Normal file
31
pkgs/os-specific/linux/trinity/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "trinity-${version}";
|
||||
version = "1.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kernelslacker";
|
||||
repo = "trinity";
|
||||
rev = "v${version}";
|
||||
sha256 = "0diwkda6n7yw8plfanivncwangk2kv1acxv0kyk3ly5jhlajwc0s";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
patchShebangs ./configure.sh
|
||||
patchShebangs ./scripts/
|
||||
substituteInPlace Makefile --replace '/usr/bin/wc' 'wc'
|
||||
'';
|
||||
|
||||
configurePhase = "./configure.sh";
|
||||
|
||||
installPhase = "make DESTDIR=$out install";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Linux System call fuzz tester";
|
||||
homepage = http://codemonkey.org.uk/projects/trinity/;
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.dezgeg ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -9604,6 +9604,8 @@ let
|
|||
guile = guile_1_8;
|
||||
};
|
||||
|
||||
trinity = callPackage ../os-specific/linux/trinity { };
|
||||
|
||||
tunctl = callPackage ../os-specific/linux/tunctl { };
|
||||
|
||||
ubootChooser = name : if name == "upstream" then ubootUpstream
|
||||
|
|
Loading…
Reference in a new issue