httping: add libintl to buildInputs on Darwin (#48188)
* httping: add libintl to buildInputs on Darwin Otherwise it won't compile. * httping: fix URLs
This commit is contained in:
parent
a48130609d
commit
9f8b40c2de
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, gettext, ncurses, openssl
|
{ stdenv, fetchurl, gettext, libintl, ncurses, openssl
|
||||||
, fftw ? null }:
|
, fftw ? null }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -6,11 +6,11 @@ stdenv.mkDerivation rec {
|
|||||||
version = "2.5";
|
version = "2.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.vanheusden.com/httping/${name}.tgz";
|
url = "https://vanheusden.com/httping/${name}.tgz";
|
||||||
sha256 = "1y7sbgkhgadmd93x1zafqc4yp26ssiv16ni5bbi9vmvvdl55m29y";
|
sha256 = "1y7sbgkhgadmd93x1zafqc4yp26ssiv16ni5bbi9vmvvdl55m29y";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ fftw ncurses openssl ];
|
buildInputs = [ fftw libintl ncurses openssl ];
|
||||||
nativeBuildInputs = [ gettext ];
|
nativeBuildInputs = [ gettext ];
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://www.vanheusden.com/httping;
|
homepage = https://vanheusden.com/httping;
|
||||||
description = "ping with HTTP requests";
|
description = "ping with HTTP requests";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Give httping an url, and it'll show you how long it takes to connect,
|
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;
|
license = licenses.agpl3;
|
||||||
maintainers = with maintainers; [ rickynils ];
|
maintainers = with maintainers; [ rickynils ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user