tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
httping: 2.5 -> 2.9
Fabian Affolter
3 years ago
ed9bd02e
04abe7d8
+24
-16
1 changed file
expand all
collapse all
unified
split
pkgs
tools
networking
httping
default.nix
+24
-16
pkgs/tools/networking/httping/default.nix
···
1
-
{ lib, stdenv, fetchurl, fetchpatch, gettext, libintl, ncurses, openssl
2
-
, fftw ? null }:
0
0
0
0
0
0
0
3
4
stdenv.mkDerivation rec {
5
pname = "httping";
6
-
version = "2.5";
7
8
-
src = fetchurl {
9
-
url = "https://vanheusden.com/httping/${pname}-${version}.tgz";
10
-
sha256 = "1y7sbgkhgadmd93x1zafqc4yp26ssiv16ni5bbi9vmvvdl55m29y";
0
0
11
};
12
13
-
patches = [
14
-
# Upstream fix for ncurses-6.3.
15
-
(fetchpatch {
16
-
name = "ncurses-6.3.patch";
17
-
url = "https://github.com/folkertvanheusden/HTTPing/commit/4ea9d5b78540c972e3fe1bf44db9f7b3f87c0ad0.patch";
18
-
sha256 = "0w3kdkq6c6hz1d9jjnw0ldvd6dy39yamj8haf0hvcyb1sb67qjmp";
19
-
})
20
];
21
22
-
buildInputs = [ fftw libintl ncurses openssl ];
23
-
nativeBuildInputs = [ gettext ];
0
0
0
0
24
25
makeFlags = [
26
"DESTDIR=$(out)"
···
36
the transmission across the network also takes time! So it measures the
37
latency of the webserver + network. It supports IPv6.
38
'';
39
-
license = licenses.agpl3;
40
maintainers = [];
41
platforms = platforms.linux ++ platforms.darwin;
42
};
···
1
+
{ lib
2
+
, stdenv
3
+
, fetchFromGitHub
4
+
, fftw ? null
5
+
, gettext
6
+
, libintl
7
+
, ncurses
8
+
, openssl
9
+
}:
10
11
stdenv.mkDerivation rec {
12
pname = "httping";
13
+
version = "2.9";
14
15
+
src = fetchFromGitHub {
16
+
owner = "folkertvanheusden";
17
+
repo = "HTTPing";
18
+
rev = "v${version}";
19
+
hash = "sha256-aExTXXtW03UKMuMjTMx1k/MUpcRMh1PdSPkDGH+Od70=";
20
};
21
22
+
nativeBuildInputs = [
23
+
gettext
0
0
0
0
0
24
];
25
26
+
buildInputs = [
27
+
fftw
28
+
libintl
29
+
ncurses
30
+
openssl
31
+
];
32
33
makeFlags = [
34
"DESTDIR=$(out)"
···
44
the transmission across the network also takes time! So it measures the
45
latency of the webserver + network. It supports IPv6.
46
'';
47
+
license = licenses.agpl3Only;
48
maintainers = [];
49
platforms = platforms.linux ++ platforms.darwin;
50
};