summary refs log tree commit diff
path: root/pkgs/development/libraries/libcollectdclient/default.nix
blob: f6d9d7ca69b8c559b2e03e7dfdcb9401c41664ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchurl, collectd }:
with stdenv.lib;

overrideDerivation collectd (oldAttrs: {
  name = "libcollectdclient-${collectd.version}";
  buildInputs = [ ];

  configureFlags = [
    "--without-daemon"
  ];

  makeFlags = [
    "-C src/libcollectdclient/"
  ];

}) // {
  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 ];
  };
}