summary refs log tree commit diff
path: root/pkgs/tools/networking
diff options
context:
space:
mode:
authorLimbo Peng <iwinux@gmail.com>2018-10-14 21:20:42 +0800
committerRenaud <c0bw3b@users.noreply.github.com>2018-10-14 15:20:42 +0200
commit9f8b40c2de7f6cf5f2f1456645386b5f926de5ee (patch)
treed5213f0674cad1ac13bc8765edf902d8bee0164e /pkgs/tools/networking
parenta48130609da943bf8251b71746502ef8005e04aa (diff)
downloadnixlib-9f8b40c2de7f6cf5f2f1456645386b5f926de5ee.tar
nixlib-9f8b40c2de7f6cf5f2f1456645386b5f926de5ee.tar.gz
nixlib-9f8b40c2de7f6cf5f2f1456645386b5f926de5ee.tar.bz2
nixlib-9f8b40c2de7f6cf5f2f1456645386b5f926de5ee.tar.lz
nixlib-9f8b40c2de7f6cf5f2f1456645386b5f926de5ee.tar.xz
nixlib-9f8b40c2de7f6cf5f2f1456645386b5f926de5ee.tar.zst
nixlib-9f8b40c2de7f6cf5f2f1456645386b5f926de5ee.zip
httping: add libintl to buildInputs on Darwin (#48188)
* httping: add libintl to buildInputs on Darwin

Otherwise it won't compile.

* httping: fix URLs
Diffstat (limited to 'pkgs/tools/networking')
-rw-r--r--pkgs/tools/networking/httping/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/tools/networking/httping/default.nix b/pkgs/tools/networking/httping/default.nix
index bfe9f115133c..abde3f2a380d 100644
--- a/pkgs/tools/networking/httping/default.nix
+++ b/pkgs/tools/networking/httping/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, gettext, ncurses, openssl
+{ stdenv, fetchurl, gettext, libintl, ncurses, openssl
 , fftw ? null }:
 
 stdenv.mkDerivation rec {
@@ -6,11 +6,11 @@ stdenv.mkDerivation rec {
   version = "2.5";
 
   src = fetchurl {
-    url = "https://www.vanheusden.com/httping/${name}.tgz";
+    url = "https://vanheusden.com/httping/${name}.tgz";
     sha256 = "1y7sbgkhgadmd93x1zafqc4yp26ssiv16ni5bbi9vmvvdl55m29y";
   };
 
-  buildInputs = [ fftw ncurses openssl ];
+  buildInputs = [ fftw libintl ncurses openssl ];
   nativeBuildInputs = [ gettext ];
 
   makeFlags = [
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
   ];
 
   meta = with stdenv.lib; {
-    homepage = http://www.vanheusden.com/httping;
+    homepage = https://vanheusden.com/httping;
     description = "ping with HTTP requests";
     longDescription = ''
       Give httping an url, and it'll show you how long it takes to connect,
@@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
     '';
     license = licenses.agpl3;
     maintainers = with maintainers; [ rickynils ];
-    platforms = platforms.linux;
+    platforms = platforms.linux ++ platforms.darwin;
   };
 }