You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

61 lines
2.3 KiB

  1. ;;; Guix --- Nix package management from Guile. -*- coding: utf-8 -*-
  2. ;;; Copyright (C) 2012 Ludovic Courtès <ludo@gnu.org>
  3. ;;;
  4. ;;; This file is part of Guix.
  5. ;;;
  6. ;;; Guix is free software; you can redistribute it and/or modify it
  7. ;;; under the terms of the GNU General Public License as published by
  8. ;;; the Free Software Foundation; either version 3 of the License, or (at
  9. ;;; your option) any later version.
  10. ;;;
  11. ;;; Guix is distributed in the hope that it will be useful, but
  12. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  13. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. ;;; GNU General Public License for more details.
  15. ;;;
  16. ;;; You should have received a copy of the GNU General Public License
  17. ;;; along with Guix. If not, see <http://www.gnu.org/licenses/>.
  18. (define-module (distro packages databases)
  19. #:use-module (distro)
  20. #:use-module (guix packages)
  21. #:use-module (guix http)
  22. #:use-module (guix utils)
  23. #:use-module (guix build-system gnu))
  24. ;;; Commentary:
  25. ;;;
  26. ;;; Database management software and related packages.
  27. ;;;
  28. ;;; Code:
  29. (define-public recutils
  30. (package
  31. (name "recutils")
  32. (version "1.5")
  33. (source (origin
  34. (method http-fetch)
  35. (uri (string-append "http://ftp.gnu.org/gnu/recutils/recutils-"
  36. version ".tar.gz"))
  37. (sha256
  38. (base32
  39. "1v2xzwwwhc5j5kmvg4sv6baxjpsfqh8ln7ilv4mgb1408rs7xmky"))))
  40. (build-system gnu-build-system)
  41. (inputs `(("curl" ,(nixpkgs-derivation "curl"))
  42. ("emacs" ,(nixpkgs-derivation "emacs"))
  43. ("check" ,(nixpkgs-derivation "check"))
  44. ("bc" ,(nixpkgs-derivation "bc"))
  45. ("patch/gets"
  46. ,(search-patch "diffutils-gets-undeclared.patch"))))
  47. (arguments `(#:patches (list (assoc-ref %build-inputs "patch/gets"))))
  48. (description "GNU recutils, tools and libraries to access human-editable,
  49. text-based databases")
  50. (long-description
  51. "GNU recutils is a set of tools and libraries to access human-editable,
  52. text-based databases called recfiles. The data is stored as a sequence of
  53. records, each record containing an arbitrary number of named fields.")
  54. (license "GPLv3+")
  55. (home-page "http://www.gnu.org/software/recutils/")))
  56. ;;; databases.scm ends here