@@ -0,0 +1,32 @@
1+{ stdenv, fetchurl, libowfat, zlib, openssl, polarssl }:
2+
3+let
4+ version = "0.13";
5+in
6+stdenv.mkDerivation rec {
7+ name = "gatling-${version}";
8+
9+ src = fetchurl {
10+ url = "http://dl.fefe.de/${name}.tar.bz2";
11+ sha256 = "0icjx20ws8gqxgpm77dx7p9zcwi1fv162in6igx04rmnyzyla8dl";
12+ };
13+
14+ buildInputs = [ libowfat zlib openssl polarssl ];
15+
16+ configurePhase = ''
17+ substituteInPlace Makefile --replace "/usr/local" "$out"
18+ substituteInPlace GNUmakefile --replace "/opt/diet" "$out"
19+ '';
20+
21+ buildPhase = ''
22+ make gatling
23+ '';
24+
25+ meta = with stdenv.lib; {
26+ description = "A high performance web server";
27+ homepage = http://www.fefe.de/gatling/;
28+ license = stdenv.lib.licenses.gplv2;
29+ platforms = platforms.linux;
30+ maintainers = [ maintainers.the-kenny ];
31+ };
32+}