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