mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
23 lines
687 B
Nix
23 lines
687 B
Nix
{ lib, stdenv, collectd }:
|
|
with 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 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 ];
|
|
};
|
|
})
|