1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/libraries/libcollectdclient/default.nix

27 lines
781 B
Nix
Raw Normal View History

{ stdenv, collectd }:
with stdenv.lib;
2016-03-17 03:57:32 +00:00
collectd.overrideAttrs (oldAttrs: {
name = "libcollectdclient-${collectd.version}";
buildInputs = [ ];
2016-03-17 03:57:32 +00:00
NIX_CFLAGS_COMPILE = oldAttrs.NIX_CFLAGS_COMPILE ++ [
"-Wno-error=unused-function"
2016-03-17 03:57:32 +00:00
];
configureFlags = oldAttrs.configureFlags ++ [
"--disable-daemon"
"--disable-all-plugins"
2016-03-17 03:57:32 +00:00
];
postInstall = "rm -rf $out/{bin,etc,sbin,share}";
2016-03-17 03:57:32 +00:00
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 ];
};
})