forked from mirrors/nixpkgs
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
27 lines
853 B
Nix
27 lines
853 B
Nix
{ stdenv, fetchurl, fping, rrdtool, FCGI, CGI
|
|
, CGIFast, ConfigGrammar, DigestHMAC, NetTelnet
|
|
, NetOpenSSH, NetSNMP, LWP, IOTty, perl, NetDNS
|
|
, NetLDAP
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "smokeping-${version}";
|
|
version = "2.6.11";
|
|
src = fetchurl {
|
|
url = "http://oss.oetiker.ch/smokeping/pub/smokeping-${version}.tar.gz";
|
|
sha256 = "1p9hpa2zs33p7hzrds80kwrm5255s0869v3s3qmsyx2sx63c7czj";
|
|
};
|
|
propagatedBuildInputs = [
|
|
rrdtool FCGI CGI CGIFast ConfigGrammar DigestHMAC NetTelnet NetOpenSSH
|
|
NetSNMP LWP IOTty fping perl NetDNS NetLDAP ];
|
|
postInstall = ''
|
|
mv $out/htdocs/smokeping.fcgi.dist $out/htdocs/smokeping.fcgi
|
|
'';
|
|
meta = {
|
|
description = "Network latency collector";
|
|
homepage = http://oss.oetiker.ch/smokeping;
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|