diff options
author | volth <volth@webmaster.ms> | 2017-12-20 22:37:37 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2017-12-29 17:34:55 +0000 |
commit | 4026ea9c8afd09b60896b861a04cc5748fdcdfb4 (patch) | |
tree | 6ba493561a354a1f0f35cf77a7c9ceb32b2d0a0f /pkgs/tools | |
parent | d3297379ad58901e324396d4efb84ee394ae5d7d (diff) | |
download | nixlib-4026ea9c8afd09b60896b861a04cc5748fdcdfb4.tar nixlib-4026ea9c8afd09b60896b861a04cc5748fdcdfb4.tar.gz nixlib-4026ea9c8afd09b60896b861a04cc5748fdcdfb4.tar.bz2 nixlib-4026ea9c8afd09b60896b861a04cc5748fdcdfb4.tar.lz nixlib-4026ea9c8afd09b60896b861a04cc5748fdcdfb4.tar.xz nixlib-4026ea9c8afd09b60896b861a04cc5748fdcdfb4.tar.zst nixlib-4026ea9c8afd09b60896b861a04cc5748fdcdfb4.zip |
collectd: 5.7.2 -> 5.8.0
This is https://github.com/NixOS/nixpkgs/pull/32811 without refactoring parts. Closes #32811
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/system/collectd/default.nix | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/pkgs/tools/system/collectd/default.nix b/pkgs/tools/system/collectd/default.nix index ddfd8cbbc01f..b1c5778ed4c5 100644 --- a/pkgs/tools/system/collectd/default.nix +++ b/pkgs/tools/system/collectd/default.nix @@ -25,7 +25,7 @@ , protobufc ? null , python ? null , rabbitmq-c ? null -, riemann ? null +, riemann_c_client ? null , rrdtool ? null , udev ? null , varnish ? null @@ -33,18 +33,21 @@ , net_snmp ? null , hiredis ? null , libmnl ? null +, mosquitto ? null +, rdkafka ? null +, mongoc ? null }: stdenv.mkDerivation rec { - version = "5.7.2"; + version = "5.8.0"; name = "collectd-${version}"; src = fetchurl { url = "http://collectd.org/files/${name}.tar.bz2"; - sha256 = "14p5cc3ys3qfg71xzxfvmxdmz5l4brpbhlmw1fwdda392lia084x"; + sha256 = "1j8mxgfq8039js2bscphd6cnriy35hk4jrxfjz5k6mghpdvg8vxh"; }; - # on 5.7.2: lvm2app.h:21:2: error: #warning "liblvm2app is deprecated, use D-Bus API instead." [-Werror=cpp] - NIX_CFLAGS_COMPILE = "-Wno-error=cpp"; + # on 5.8.0: lvm2app.h:21:2: error: #warning "liblvm2app is deprecated, use D-Bus API instead." [-Werror=cpp] + NIX_CFLAGS_COMPILE = [ "-Wno-error=cpp" ]; nativeBuildInputs = [ pkgconfig ]; buildInputs = [ @@ -52,6 +55,7 @@ stdenv.mkDerivation rec { cyrus_sasl libnotify gdk_pixbuf liboping libpcap libvirt libxml2 libmysql postgresql protobufc rrdtool varnish yajl jdk libtool python hiredis libmicrohttpd + riemann_c_client mosquitto rdkafka mongoc ] ++ stdenv.lib.optionals stdenv.isLinux [ iptables libatasmart libcredis libmodbus libsigrok lm_sensors lvm2 rabbitmq-c udev net_snmp libmnl @@ -60,11 +64,7 @@ stdenv.mkDerivation rec { darwin.apple_sdk.frameworks.ApplicationServices ]; - # for some reason libsigrok isn't auto-detected - configureFlags = - [ "--localstatedir=/var" ] ++ - stdenv.lib.optional (stdenv.isLinux && libsigrok != null) "--with-libsigrok" ++ - stdenv.lib.optional (python != null) "--with-python=${python}/bin/python"; + configureFlags = [ "--localstatedir=/var" ]; # do not create directories in /var during installPhase postConfigure = '' @@ -77,6 +77,8 @@ stdenv.mkDerivation rec { fi ''; + enableParallelBuilding = true; + meta = with stdenv.lib; { description = "Daemon which collects system performance statistics periodically"; homepage = https://collectd.org; |