8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
22 lines
696 B
Nix
22 lines
696 B
Nix
{ stdenv, collectd }:
|
|
with stdenv.lib;
|
|
|
|
collectd.overrideAttrs (oldAttrs: {
|
|
name = "libcollectdclient-${collectd.version}";
|
|
buildInputs = [ ];
|
|
|
|
configureFlags = (oldAttrs.configureFlags or []) ++ [
|
|
"--disable-daemon"
|
|
"--disable-all-plugins"
|
|
];
|
|
|
|
postInstall = "rm -rf $out/{bin,etc,sbin,share}";
|
|
|
|
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 ];
|
|
};
|
|
})
|