summary refs log tree commit diff
path: root/distro
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-07-21 17:05:27 +0200
committerLudovic Courtès <ludo@gnu.org>2012-07-21 17:05:27 +0200
commit38701758dadc72bbf256946e1048c6c124f69716 (patch)
treee007f507ef70b6c347b9ec4bdd7c3f504f4cd87b /distro
parentf66963df93f9ebf93c550914ffc9450bea75c7fd (diff)
downloadguix-38701758dadc72bbf256946e1048c6c124f69716.tar.gz
distro: Add GNU recutils.
* distro/base.scm (recutils): New variable.
Diffstat (limited to 'distro')
-rw-r--r--distro/base.scm25
1 files changed, 25 insertions, 0 deletions
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 @@ internal in-memory representation.")
    (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")