1 { lib, stdenv, fetchurl, fping, rrdtool, perlPackages, nixosTests }:
3 stdenv.mkDerivation rec {
7 url = "https://oss.oetiker.ch/smokeping/pub/smokeping-${version}.tar.gz";
8 sha256 = "1p9hpa2zs33p7hzrds80kwrm5255s0869v3s3qmsyx2sx63c7czj";
10 propagatedBuildInputs = [ rrdtool ] ++
11 (with perlPackages; [ perl FCGI CGI CGIFast ConfigGrammar DigestHMAC NetTelnet
12 NetOpenSSH NetSNMP LWP IOTty fping NetDNS perlldap ]);
15 mv $out/htdocs/smokeping.fcgi.dist $out/htdocs/smokeping.fcgi
18 passthru.tests.smokeping = nixosTests.smokeping;
21 description = "Network latency collector";
22 homepage = "http://oss.oetiker.ch/smokeping";
23 license = lib.licenses.gpl2Plus;
24 platforms = lib.platforms.all;
25 maintainers = [ lib.maintainers.erictapen ];