@@ -3,6 +3,7 @@
33, pkgconfig ? null # most of the extra deps need pkgconfig to be found
44, curl ? null
55, iptables ? null
6+, jdk ? null
67, libcredis ? null
78, libdbi ? null
89, libgcrypt ? null
@@ -14,34 +15,39 @@
1415, libsigrok ? null
1516, libvirt ? null
1617, libxml2 ? null
18+, libtool ? null
1719, lm_sensors ? null
1820, lvm2 ? null
1921, mysql ? null
2022, postgresql ? null
2123, protobufc ? null
24+, python ? null
2225, rabbitmq-c ? null
26+, riemann ? null
2327, rrdtool ? null
2428, varnish ? null
2529, yajl ? null
2630}:
2731
2832stdenv.mkDerivation rec {
29− name = "collectd-5.4.2";
33+ name = "collectd-5.5.0";
3034
3135 src = fetchurl {
3236 url = "http://collectd.org/files/${name}.tar.bz2";
33− sha256 = "14z3qkqbmfjvqvcb2v17480f7c8j7wa49myk0zlxpd9qq40fk2cp";
37+ sha256 = "847684cf5c10de1dc34145078af3fcf6e0d168ba98c14f1343b1062a4b569e88";
3438 };
3539
3640 buildInputs = [
3741 pkgconfig curl iptables libcredis libdbi libgcrypt libmemcached cyrus_sasl
3842 libmodbus libnotify gdk_pixbuf liboping libpcap libsigrok libvirt
3943 lm_sensors libxml2 lvm2 mysql.lib postgresql protobufc rabbitmq-c rrdtool
40− varnish yajl
44+ varnish yajl jdk libtool python
4145 ];
4246
4347 # for some reason libsigrok isn't auto-detected
44− configureFlags = stdenv.lib.optional (libsigrok != null) "--with-libsigrok";
48+ configureFlags =
49+ stdenv.lib.optional (libsigrok != null) "--with-libsigrok" ++
50+ stdenv.lib.optional (python != null) "--with-python=${python}/bin/python";
4551
4652 NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
4753