summary refs log tree commit diff
path: root/pkgs/development/libraries/libcollectdclient
diff options
context:
space:
mode:
authorSheena Artrip <sheena.artrip@gmail.com>2016-03-16 23:57:32 -0400
committerSheena Artrip <sheena.artrip@gmail.com>2016-03-17 00:00:05 -0400
commit6f4458d16f5ae7d89d163f37bf4f32e64bca0b36 (patch)
tree170fa1191001fb123adefc0db99846afca5e21b9 /pkgs/development/libraries/libcollectdclient
parent38579a1cc967340dd0b52f7bc315a9b1cb771183 (diff)
downloadnixpkgs-6f4458d16f5ae7d89d163f37bf4f32e64bca0b36.tar
nixpkgs-6f4458d16f5ae7d89d163f37bf4f32e64bca0b36.tar.gz
nixpkgs-6f4458d16f5ae7d89d163f37bf4f32e64bca0b36.tar.bz2
nixpkgs-6f4458d16f5ae7d89d163f37bf4f32e64bca0b36.tar.lz
nixpkgs-6f4458d16f5ae7d89d163f37bf4f32e64bca0b36.tar.xz
nixpkgs-6f4458d16f5ae7d89d163f37bf4f32e64bca0b36.tar.zst
nixpkgs-6f4458d16f5ae7d89d163f37bf4f32e64bca0b36.zip
libcollectdclient: init at 5.5.0
Diffstat (limited to 'pkgs/development/libraries/libcollectdclient')
-rw-r--r--pkgs/development/libraries/libcollectdclient/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libcollectdclient/default.nix b/pkgs/development/libraries/libcollectdclient/default.nix
new file mode 100644
index 00000000000..f06fcec8412
--- /dev/null
+++ b/pkgs/development/libraries/libcollectdclient/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+  version = "5.5.0";
+  name = "libcollectdclient-${version}";
+  tarname = "collectd-${version}";
+
+  src = fetchurl {
+    url = "http://collectd.org/files/${tarname}.tar.bz2";
+    sha256 = "847684cf5c10de1dc34145078af3fcf6e0d168ba98c14f1343b1062a4b569e88";
+  };
+
+  configureFlags = [
+    "--without-daemon"
+  ];
+
+  makeFlags = [
+    "-C src/libcollectdclient/"
+  ];
+
+  NIX_CFLAGS_COMPILE = "-Wno-error=cpp";
+
+  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 ];
+  };
+}