nixpkgs: Fuzzing test case optimizer
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
b0dc5b17ca
commit
57ec90f90f
24
pkgs/tools/security/tmin/default.nix
Normal file
24
pkgs/tools/security/tmin/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
{ stdenv, fetchurl, bash }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "tmin-${version}";
|
||||||
|
version = "0.05";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://tmin.googlecode.com/files/${name}.tar.gz";
|
||||||
|
sha256 = "0166kcfs4b0da4hs2aqyn41f5l09i8rwxpi20k7x17qsxbmjbpd5";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
gcc -O3 -funroll-loops -fno-strict-aliasing -Wno-pointer-sign tmin.c -o tmin
|
||||||
|
'';
|
||||||
|
installPhase = "mkdir -p $out/bin && mv tmin $out/bin";
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Fuzzing tool test-case optimizer";
|
||||||
|
homepage = "https://code.google.com/p/tmin";
|
||||||
|
license = stdenv.lib.licenses.asl20;
|
||||||
|
platforms = stdenv.lib.platforms.linux;
|
||||||
|
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2514,6 +2514,8 @@ let
|
||||||
|
|
||||||
tmux = callPackage ../tools/misc/tmux { };
|
tmux = callPackage ../tools/misc/tmux { };
|
||||||
|
|
||||||
|
tmin = callPackage ../tools/security/tmin { };
|
||||||
|
|
||||||
tor = callPackage ../tools/security/tor { };
|
tor = callPackage ../tools/security/tor { };
|
||||||
|
|
||||||
torbutton = callPackage ../tools/security/torbutton { };
|
torbutton = callPackage ../tools/security/torbutton { };
|
||||||
|
|
Loading…
Reference in a new issue