git.iko.soy/typeable/nixpkgs
on master help sign in
gatling: Init at 0.13.
commitaf73b4cc2e9bb5b13741599c423077b16cb92e85 authorMoritz Ulrich <moritz@tarn-vedra.de> dateTue 10 Nov 2015, 23:59 (11 years ago) parent4b22a42
2 files changed+34
pkgs/servers/http/gatling/default.nix+32 pkgs/top-level/all-packages.nix+2
pkgs/servers/http/gatling/default.nixnew file+32
@@ -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+}
pkgs/top-level/all-packages.nix+2
@@ -9104,6 +9104,8 @@ let
91049104
91059105 freeswitch = callPackage ../servers/sip/freeswitch { };
91069106
9107+ gatling = callPackage ../servers/http/gatling { };
9108+
91079109 groovebasin = callPackage ../applications/audio/groovebasin { };
91089110
91099111 hbase = callPackage ../servers/hbase {};