summary refs log tree commit diff
path: root/pkgs/tools/networking/httping/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/networking/httping/default.nix')
-rw-r--r--pkgs/tools/networking/httping/default.nix21
1 files changed, 11 insertions, 10 deletions
diff --git a/pkgs/tools/networking/httping/default.nix b/pkgs/tools/networking/httping/default.nix
index 7e9906e7971..9243550a1b1 100644
--- a/pkgs/tools/networking/httping/default.nix
+++ b/pkgs/tools/networking/httping/default.nix
@@ -1,26 +1,27 @@
-{ stdenv, fetchurl, gettext }:
+{ stdenv, fetchurl, gettext, ncurses }:
 
 stdenv.mkDerivation rec {
   name = "httping-${version}";
 
-  version = "2.3.4";
+  version = "2.4";
 
   src = fetchurl {
-    url = "http://www.vanheusden.com/httping/httping-2.3.4.tgz";
-    sha256 = "1hkbhdxb0phrvrddx9kcfpqlzm41xv9jvy82nfkqa7bb0v5p2qd7";
+    url = "http://www.vanheusden.com/httping/${name}.tgz";
+    sha256 = "1110r3gpsj9xmybdw7w4zkhj3zmn5mnv2nq0ijbvrywbn019zdfs";
   };
 
-  buildInputs = [ gettext ];
+  buildInputs = [ gettext ncurses ];
 
   makeFlags = [
     "DESTDIR=$(out)"
     "PREFIX="
   ];
 
-  meta = {
-    homepage = "http://www.vanheusden.com/httping";
-    description = "ping for HTTP requests";
-    maintainers = with stdenv.lib.maintainers; [ rickynils ];
-    platforms = with stdenv.lib.platforms; linux;
+  meta = with stdenv.lib; {
+    inherit version;
+    homepage = http://www.vanheusden.com/httping;
+    description = "ping with HTTP requests";
+    maintainers = with maintainers; [ nckx rickynils ];
+    platforms = with platforms; linux;
   };
 }