My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/libraries/libcollectdclient/default.nix

23 lines
690 B

{ lib, collectd }:
with lib;
collectd.overrideAttrs (oldAttrs: {
pname = "libcollectdclient";
inherit (collectd) version;
buildInputs = [ ];
configureFlags = (oldAttrs.configureFlags or []) ++ [
"--disable-daemon"
"--disable-all-plugins"
];
postInstall = "rm -rf $out/{bin,etc,sbin,share}";
meta = with 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 ];
};
})