nixpkgs/pkgs/development/libraries/libcollectdclient/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
690 B
Nix
Raw Normal View History

{ lib, collectd }:
with lib;
2016-03-17 04:57:32 +01:00
collectd.overrideAttrs (oldAttrs: {
2022-02-23 21:00:06 +01:00
pname = "libcollectdclient";
inherit (collectd) version;
buildInputs = [ ];
2016-03-17 04:57:32 +01:00
2018-12-21 13:40:40 +01:00
configureFlags = (oldAttrs.configureFlags or []) ++ [
"--disable-daemon"
"--disable-all-plugins"
2016-03-17 04:57:32 +01:00
];
postInstall = "rm -rf $out/{bin,etc,sbin,share}";
meta = with lib; {
2016-03-17 04:57:32 +01:00
description = "C Library for collectd, a daemon which collects system performance statistics periodically";
homepage = "http://collectd.org";
2016-03-17 04:57:32 +01:00
license = licenses.gpl2;
platforms = platforms.linux; # TODO: collectd may be linux but the C client may be more portable?
maintainers = [ maintainers.sheenobu maintainers.bjornfor ];
};
})