@@ -0,0 +1,24 @@
1+{ stdenv, fetchurl, bash }:
2+
3+stdenv.mkDerivation rec {
4+ name = "tmin-${version}";
5+ version = "0.05";
6+
7+ src = fetchurl {
8+ url = "https://tmin.googlecode.com/files/${name}.tar.gz";
9+ sha256 = "0166kcfs4b0da4hs2aqyn41f5l09i8rwxpi20k7x17qsxbmjbpd5";
10+ };
11+
12+ buildPhase = ''
13+ gcc -O3 -funroll-loops -fno-strict-aliasing -Wno-pointer-sign tmin.c -o tmin
14+ '';
15+ installPhase = "mkdir -p $out/bin && mv tmin $out/bin";
16+
17+ meta = {
18+ description = "Fuzzing tool test-case optimizer";
19+ homepage = "https://code.google.com/p/tmin";
20+ license = stdenv.lib.licenses.asl20;
21+ platforms = stdenv.lib.platforms.linux;
22+ maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
23+ };
24+}