summary refs log tree commit diff
path: root/pkgs/development/libraries/libcollectdclient/default.nix
blob: 0f1cbeb2f96f34256d174b0232806805a290e9bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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 ];
  };
})