lol

Merge pull request #7572 from dezgeg/pr-trinity

trinity: New package

+33
+31
pkgs/os-specific/linux/trinity/default.nix
··· 1 + { stdenv, fetchFromGitHub }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "trinity-${version}"; 5 + version = "1.5"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "kernelslacker"; 9 + repo = "trinity"; 10 + rev = "v${version}"; 11 + sha256 = "0diwkda6n7yw8plfanivncwangk2kv1acxv0kyk3ly5jhlajwc0s"; 12 + }; 13 + 14 + patchPhase = '' 15 + patchShebangs ./configure.sh 16 + patchShebangs ./scripts/ 17 + substituteInPlace Makefile --replace '/usr/bin/wc' 'wc' 18 + ''; 19 + 20 + configurePhase = "./configure.sh"; 21 + 22 + installPhase = "make DESTDIR=$out install"; 23 + 24 + meta = with stdenv.lib; { 25 + description = "A Linux System call fuzz tester"; 26 + homepage = http://codemonkey.org.uk/projects/trinity/; 27 + license = licenses.gpl2; 28 + maintainers = [ maintainers.dezgeg ]; 29 + platforms = platforms.linux; 30 + }; 31 + }
+2
pkgs/top-level/all-packages.nix
··· 9629 9629 guile = guile_1_8; 9630 9630 }; 9631 9631 9632 + trinity = callPackage ../os-specific/linux/trinity { }; 9633 + 9632 9634 tunctl = callPackage ../os-specific/linux/tunctl { }; 9633 9635 9634 9636 ubootChooser = name : if name == "upstream" then ubootUpstream