From 38701758dadc72bbf256946e1048c6c124f69716 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 21 Jul 2012 17:05:27 +0200 Subject: [PATCH] distro: Add GNU recutils. * distro/base.scm (recutils): New variable. --- distro/base.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/distro/base.scm b/distro/base.scm index 765826b504..853ceee33e 100644 --- a/distro/base.scm +++ b/distro/base.scm @@ -370,6 +370,31 @@ (define-public libunistring (home-page "http://www.gnu.org/software/libunistring/") (license "LGPLv3+"))) +(define-public recutils + (package + (name "recutils") + (version "1.5") + (source (origin + (method http-fetch) + (uri (string-append "http://ftp.gnu.org/gnu/recutils/recutils-" + version ".tar.gz")) + (sha256 + (base32 + "1v2xzwwwhc5j5kmvg4sv6baxjpsfqh8ln7ilv4mgb1408rs7xmky")))) + (build-system gnu-build-system) + (inputs `(("curl" ,(nixpkgs-derivation* "curl")) + ("emacs" ,(nixpkgs-derivation* "emacs")) + ("check" ,(nixpkgs-derivation* "check")) + ("bc" ,(nixpkgs-derivation* "bc")))) + (description "GNU recutils, tools and libraries to access human-editable, +text-based databases") + (long-description + "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.") + (license "GPLv3+") + (home-page "http://www.gnu.org/software/recutils/"))) + (define-public guile-1.8 (package (name "guile")