2018-07-21 01:44:44 +01:00
|
|
|
{ stdenv, collectd }:
|
2016-03-18 03:25:27 +00:00
|
|
|
with stdenv.lib;
|
2016-03-17 03:57:32 +00:00
|
|
|
|
2018-06-09 01:10:22 +01:00
|
|
|
collectd.overrideAttrs (oldAttrs: {
|
2016-03-18 03:25:27 +00:00
|
|
|
name = "libcollectdclient-${collectd.version}";
|
|
|
|
buildInputs = [ ];
|
2016-03-17 03:57:32 +00:00
|
|
|
|
2018-12-21 12:40:40 +00:00
|
|
|
configureFlags = (oldAttrs.configureFlags or []) ++ [
|
2017-12-20 22:37:37 +00:00
|
|
|
"--disable-daemon"
|
|
|
|
"--disable-all-plugins"
|
2016-03-17 03:57:32 +00:00
|
|
|
];
|
|
|
|
|
2017-12-20 22:37:37 +00:00
|
|
|
postInstall = "rm -rf $out/{bin,etc,sbin,share}";
|
|
|
|
|
2016-03-17 03:57:32 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "C Library for collectd, a daemon which collects system performance statistics periodically";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://collectd.org";
|
2016-03-17 03:57:32 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux; # TODO: collectd may be linux but the C client may be more portable?
|
|
|
|
maintainers = [ maintainers.sheenobu maintainers.bjornfor ];
|
|
|
|
};
|
2018-06-09 01:10:22 +01:00
|
|
|
})
|