From 2630b87a8cf3dda2184a1ac351809af764f6d913 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Wed, 25 Mar 2009 19:13:24 +0000 Subject: [PATCH] Adding rrdtool. svn path=/nixpkgs/trunk/; revision=14713 --- pkgs/tools/misc/rrdtool/default.nix | 16 ++++++++++++++++ pkgs/top-level/all-packages.nix | 5 +++++ 2 files changed, 21 insertions(+) create mode 100644 pkgs/tools/misc/rrdtool/default.nix diff --git a/pkgs/tools/misc/rrdtool/default.nix b/pkgs/tools/misc/rrdtool/default.nix new file mode 100644 index 000000000000..e5e196efdb0e --- /dev/null +++ b/pkgs/tools/misc/rrdtool/default.nix @@ -0,0 +1,16 @@ +{ fetchurl, stdenv, gettext, perl, pkgconfig, libxml2, pango, cairo }: + +stdenv.mkDerivation { + name = "rrdtool-1.3.6"; + src = fetchurl { + url = http://oss.oetiker.ch/rrdtool/pub/rrdtool-1.3.6.tar.gz; + sha256 = "e958760cb0d182c53a878cb2ba5c290c252c2c506082c988e5dd3f3301b895a2"; + }; + buildInputs = [ gettext perl pkgconfig libxml2 pango cairo ]; + + meta = { + homepage = http://oss.oetiker.ch/rrdtool/; + description = "High performance logging in Round Robin Databases"; + license = "GPL"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5a786bead9ab..35fafbae2d15 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1179,6 +1179,11 @@ let inherit fetchurl stdenv cpio zlib bzip2 file sqlite beecrypt neon elfutils; }; + rrdtool = import ../tools/misc/rrdtool { + inherit stdenv fetchurl gettext perl pkgconfig libxml2 cairo; + inherit (gtkLibs) pango; + }; + rtorrent = import ../tools/networking/p2p/rtorrent { inherit fetchurl stdenv libtorrent ncurses pkgconfig libsigcxx curl zlib openssl; };