nixpkgs/pkgs/tools/system/collectd/default.nix

20 lines
497 B
Nix
Raw Normal View History

2013-08-30 11:58:02 +02:00
{stdenv, fetchurl }:
stdenv.mkDerivation rec {
2014-03-08 17:21:06 +01:00
name = "collectd-5.4.1";
2013-08-30 11:58:02 +02:00
src = fetchurl {
url = "http://collectd.org/files/${name}.tar.bz2";
2014-03-08 17:21:06 +01:00
sha256 = "1q365zx6d1wyhv7n97bagfxqnqbhj2j14zz552nhmjviy8lj2ibm";
2013-08-30 11:58:02 +02:00
};
NIX_LDFLAGS = "-lgcc_s"; # for pthread_cancel
2013-08-30 11:58:02 +02:00
meta = {
homepage = http://collectd.org;
description = "collectd is a daemon which collects system performance statistics periodically";
platforms = stdenv.lib.platforms.linux;
license = "GPLv2";
};
}