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
|
|
|
};
|
|
|
|
|
2013-09-09 13:05:50 +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";
|
|
|
|
};
|
|
|
|
}
|