diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2015-04-25 00:01:10 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2015-04-26 00:03:01 +0300 |
commit | 7453f378ea889a237e936ec6a84d11a812a56a4a (patch) | |
tree | 1a202d500bd8656cc352a658b2617004561267c8 /pkgs/os-specific/linux/trinity | |
parent | fd15fe4f09b372541430cf083bb249a83864903b (diff) |
trinity: init at version 1.5
Diffstat (limited to 'pkgs/os-specific/linux/trinity')
-rw-r--r-- | pkgs/os-specific/linux/trinity/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/trinity/default.nix b/pkgs/os-specific/linux/trinity/default.nix new file mode 100644 index 0000000000000..9b7e2a6876ada --- /dev/null +++ b/pkgs/os-specific/linux/trinity/default.nix @@ -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; + }; +} |