From bd311de25c3d0f1099ea34c59765e01a2e884d85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 21 Dec 2010 16:26:34 +0000 Subject: [PATCH] GNU Recutils 1.0. svn path=/nixpkgs/branches/stdenv-updates/; revision=25227 --- pkgs/tools/misc/recutils/default.nix | 32 ++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/tools/misc/recutils/default.nix diff --git a/pkgs/tools/misc/recutils/default.nix b/pkgs/tools/misc/recutils/default.nix new file mode 100644 index 000000000000..47536778f88a --- /dev/null +++ b/pkgs/tools/misc/recutils/default.nix @@ -0,0 +1,32 @@ +{ fetchurl, stdenv, gettext, emacs, curl, check, bc }: + +stdenv.mkDerivation rec { + name = "recutils-1.0"; + + src = fetchurl { + url = "mirror://gnu/recutils/${name}.tar.gz"; + sha256 = "1m8ir31wjybm9x8bv73f330kb2hkmc8lrpwgd5h9avva4x5b7g5d"; + }; + + doCheck = true; + + buildInputs = [ curl emacs ] ++ (stdenv.lib.optionals doCheck [ check bc ]); + + meta = { + description = "GNU Recutils, tools and libraries to access human-editable, text-based databases"; + + longDescription = + '' GNU Recutils is a set of tools and libraries to access + human-editable, text-based databases called recfiles. The data is + stored as a sequence of records, each record containing an arbitrary + number of named fields. + ''; + + homepage = http://www.gnu.org/software/recutils/; + + license = "GPLv3+"; + + platforms = stdenv.lib.platforms.all; + maintainers = [ stdenv.lib.maintainers.ludo ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index eb50dbeb3af0..d2842ad37d5c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1122,6 +1122,8 @@ let rtmpdump = callPackage ../tools/video/rtmpdump { }; + recutils = callPackage ../tools/misc/recutils { }; + reiser4progs = callPackage ../tools/filesystems/reiser4progs { }; reiserfsprogs = callPackage ../tools/filesystems/reiserfsprogs { };