2021-01-25 09:26:54 +01:00
|
|
|
{ lib, collectd }:
|
2021-01-22 00:00:13 +07:00
|
|
|
with lib;
|
2016-03-16 23:57:32 -04:00
|
|
|
|
2018-06-09 02:10:22 +02:00
|
|
|
collectd.overrideAttrs (oldAttrs: {
|
2016-03-17 23:25:27 -04:00
|
|
|
name = "libcollectdclient-${collectd.version}";
|
|
|
|
buildInputs = [ ];
|
2016-03-16 23:57:32 -04:00
|
|
|
|
2018-12-21 13:40:40 +01:00
|
|
|
configureFlags = (oldAttrs.configureFlags or []) ++ [
|
2017-12-20 22:37:37 +00:00
|
|
|
"--disable-daemon"
|
|
|
|
"--disable-all-plugins"
|
2016-03-16 23:57:32 -04:00
|
|
|
];
|
|
|
|
|
2017-12-20 22:37:37 +00:00
|
|
|
postInstall = "rm -rf $out/{bin,etc,sbin,share}";
|
|
|
|
|
2021-01-22 00:00:13 +07:00
|
|
|
meta = with lib; {
|
2016-03-16 23:57:32 -04:00
|
|
|
description = "C Library for collectd, a daemon which collects system performance statistics periodically";
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "http://collectd.org";
|
2016-03-16 23:57:32 -04: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 02:10:22 +02:00
|
|
|
})
|