about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-04-28 02:09:12 +0200
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-04-28 02:22:25 +0200
commitf401b3cf0bad8ceba7fe13cc9a3f03ad9c4b6846 (patch)
tree0a7a7cbdb3c7c2673541743dfc72b7da8c673599
parent16bb38655d067517749ce21e4954d086a93bf359 (diff)
downloadnixlib-f401b3cf0bad8ceba7fe13cc9a3f03ad9c4b6846.tar
nixlib-f401b3cf0bad8ceba7fe13cc9a3f03ad9c4b6846.tar.gz
nixlib-f401b3cf0bad8ceba7fe13cc9a3f03ad9c4b6846.tar.bz2
nixlib-f401b3cf0bad8ceba7fe13cc9a3f03ad9c4b6846.tar.lz
nixlib-f401b3cf0bad8ceba7fe13cc9a3f03ad9c4b6846.tar.xz
nixlib-f401b3cf0bad8ceba7fe13cc9a3f03ad9c4b6846.tar.zst
nixlib-f401b3cf0bad8ceba7fe13cc9a3f03ad9c4b6846.zip
httping 2.3.4 -> 2.4
Also add support for the fancy ncurses interface.
-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 7e9906e7971a..9243550a1b1b 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;
   };
 }