From af73b4cc2e9bb5b13741599c423077b16cb92e85 Mon Sep 17 00:00:00 2001 From: Moritz Ulrich Date: Tue, 10 Nov 2015 23:59:38 +0100 Subject: [PATCH] gatling: Init at 0.13. --- pkgs/servers/http/gatling/default.nix | 32 +++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/servers/http/gatling/default.nix diff --git a/pkgs/servers/http/gatling/default.nix b/pkgs/servers/http/gatling/default.nix new file mode 100644 index 000000000000..feb46f47d933 --- /dev/null +++ b/pkgs/servers/http/gatling/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchurl, libowfat, zlib, openssl, polarssl }: + +let + version = "0.13"; +in +stdenv.mkDerivation rec { + name = "gatling-${version}"; + + src = fetchurl { + url = "http://dl.fefe.de/${name}.tar.bz2"; + sha256 = "0icjx20ws8gqxgpm77dx7p9zcwi1fv162in6igx04rmnyzyla8dl"; + }; + + buildInputs = [ libowfat zlib openssl polarssl ]; + + configurePhase = '' + substituteInPlace Makefile --replace "/usr/local" "$out" + substituteInPlace GNUmakefile --replace "/opt/diet" "$out" + ''; + + buildPhase = '' + make gatling + ''; + + meta = with stdenv.lib; { + description = "A high performance web server"; + homepage = http://www.fefe.de/gatling/; + license = stdenv.lib.licenses.gplv2; + platforms = platforms.linux; + maintainers = [ maintainers.the-kenny ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 7d1418b7694f..51bbd79c5968 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9104,6 +9104,8 @@ let freeswitch = callPackage ../servers/sip/freeswitch { }; + gatling = callPackage ../servers/http/gatling { }; + groovebasin = callPackage ../applications/audio/groovebasin { }; hbase = callPackage ../servers/hbase {};