2018-12-15 03:50:31 +00:00
|
|
|
{ stdenv, fetchurl, fping, rrdtool, perlPackages }:
|
2016-07-21 00:07:59 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "smokeping";
|
2016-07-21 00:07:59 +01:00
|
|
|
version = "2.6.11";
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://oss.oetiker.ch/smokeping/pub/smokeping-${version}.tar.gz";
|
2016-07-21 00:07:59 +01:00
|
|
|
sha256 = "1p9hpa2zs33p7hzrds80kwrm5255s0869v3s3qmsyx2sx63c7czj";
|
|
|
|
};
|
2018-12-15 03:50:31 +00:00
|
|
|
propagatedBuildInputs = [ rrdtool ] ++
|
|
|
|
(with perlPackages; [ perl FCGI CGI CGIFast ConfigGrammar DigestHMAC NetTelnet
|
|
|
|
NetOpenSSH NetSNMP LWP IOTty fping NetDNS perlldap ]);
|
|
|
|
|
2016-07-21 00:07:59 +01:00
|
|
|
postInstall = ''
|
|
|
|
mv $out/htdocs/smokeping.fcgi.dist $out/htdocs/smokeping.fcgi
|
|
|
|
'';
|
|
|
|
meta = {
|
|
|
|
description = "Network latency collector";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://oss.oetiker.ch/smokeping";
|
2016-07-21 00:07:59 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2019-10-14 20:23:11 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.erictapen ];
|
2016-07-21 00:07:59 +01:00
|
|
|
};
|
|
|
|
}
|