From bd6eba997f4531920fdf3706bce24c4f4a2814fd Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Fri, 30 Aug 2013 11:58:02 +0200 Subject: [PATCH] Add collectd 5.4.0 --- pkgs/tools/system/collectd/default.nix | 17 +++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 pkgs/tools/system/collectd/default.nix diff --git a/pkgs/tools/system/collectd/default.nix b/pkgs/tools/system/collectd/default.nix new file mode 100644 index 000000000000..7da45c596ef4 --- /dev/null +++ b/pkgs/tools/system/collectd/default.nix @@ -0,0 +1,17 @@ +{stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "collectd-5.4.0"; + + src = fetchurl { + url = "http://collectd.org/files/${name}.tar.bz2"; + sha256 = "0gljf5c60q6i0nrii6addxy1p76qqixww8zy17a7a1zil6a3i5wh"; + }; + + meta = { + homepage = http://collectd.org; + description = "collectd is a daemon which collects system performance statistics periodically"; + platforms = stdenv.lib.platforms.linux; + license = "GPLv2"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 191a91b5cbb2..1ab78b6f9f1d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -631,6 +631,8 @@ let convertlit = callPackage ../tools/text/convertlit { }; + collectd = callPackage ../tools/system/collectd { }; + colormake = callPackage ../development/tools/build-managers/colormake { }; cowsay = callPackage ../tools/misc/cowsay { };