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
1
-
{ lib, stdenv, fetchurl, fetchpatch, gettext, libintl, ncurses, openssl
2
2
-
, fftw ? null }:
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, fftw ? null
5
5
+
, gettext
6
6
+
, libintl
7
7
+
, ncurses
8
8
+
, openssl
9
9
+
}:
3
10
4
11
stdenv.mkDerivation rec {
5
12
pname = "httping";
6
6
-
version = "2.5";
13
13
+
version = "2.9";
7
14
8
8
-
src = fetchurl {
9
9
-
url = "https://vanheusden.com/httping/${pname}-${version}.tgz";
10
10
-
sha256 = "1y7sbgkhgadmd93x1zafqc4yp26ssiv16ni5bbi9vmvvdl55m29y";
15
15
+
src = fetchFromGitHub {
16
16
+
owner = "folkertvanheusden";
17
17
+
repo = "HTTPing";
18
18
+
rev = "v${version}";
19
19
+
hash = "sha256-aExTXXtW03UKMuMjTMx1k/MUpcRMh1PdSPkDGH+Od70=";
11
20
};
12
21
13
13
-
patches = [
14
14
-
# Upstream fix for ncurses-6.3.
15
15
-
(fetchpatch {
16
16
-
name = "ncurses-6.3.patch";
17
17
-
url = "https://github.com/folkertvanheusden/HTTPing/commit/4ea9d5b78540c972e3fe1bf44db9f7b3f87c0ad0.patch";
18
18
-
sha256 = "0w3kdkq6c6hz1d9jjnw0ldvd6dy39yamj8haf0hvcyb1sb67qjmp";
19
19
-
})
22
22
+
nativeBuildInputs = [
23
23
+
gettext
20
24
];
21
25
22
22
-
buildInputs = [ fftw libintl ncurses openssl ];
23
23
-
nativeBuildInputs = [ gettext ];
26
26
+
buildInputs = [
27
27
+
fftw
28
28
+
libintl
29
29
+
ncurses
30
30
+
openssl
31
31
+
];
24
32
25
33
makeFlags = [
26
34
"DESTDIR=$(out)"
···
36
44
the transmission across the network also takes time! So it measures the
37
45
latency of the webserver + network. It supports IPv6.
38
46
'';
39
39
-
license = licenses.agpl3;
47
47
+
license = licenses.agpl3Only;
40
48
maintainers = [];
41
49
platforms = platforms.linux ++ platforms.darwin;
42
50
};