2016-03-18 06:25:27 +03:00
|
|
|
{ stdenv, fetchurl, collectd }:
|
|
|
|
with stdenv.lib;
|
2016-03-17 06:57:32 +03:00
|
|
|
|
2016-03-18 06:25:27 +03:00
|
|
|
overrideDerivation collectd (oldAttrs: {
|
|
|
|
name = "libcollectdclient-${collectd.version}";
|
|
|
|
buildInputs = [ ];
|
2016-03-17 06:57:32 +03:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--without-daemon"
|
|
|
|
];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"-C src/libcollectdclient/"
|
|
|
|
];
|
|
|
|
|
2016-03-18 06:25:27 +03:00
|
|
|
}) // {
|
2016-03-17 06:57:32 +03:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "C Library for collectd, a daemon which collects system performance statistics periodically";
|
|
|
|
homepage = http://collectd.org;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux; # TODO: collectd may be linux but the C client may be more portable?
|
|
|
|
maintainers = [ maintainers.sheenobu maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
}
|