collectd: 5.7.2 -> 5.8.0

This is https://github.com/NixOS/nixpkgs/pull/32811 without refactoring parts.

Closes #32811
This commit is contained in:
volth
2017-12-20 22:37:37 +00:00
committed by Orivej Desh
parent d3297379ad
commit 4026ea9c8a
2 changed files with 19 additions and 14 deletions

View File

@@ -5,14 +5,17 @@ overrideDerivation collectd (oldAttrs: {
name = "libcollectdclient-${collectd.version}";
buildInputs = [ ];
configureFlags = [
"--without-daemon"
NIX_CFLAGS_COMPILE = oldAttrs.NIX_CFLAGS_COMPILE ++ [
"-Wno-error=unused-function"
];
makeFlags = [
"-C src/libcollectdclient/"
configureFlags = oldAttrs.configureFlags ++ [
"--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";