From c41ccac45b738eb0777c51f4e4a7eb44e90a4281 Mon Sep 17 00:00:00 2001 From: Morgan Smith Date: Mon, 13 Dec 2021 19:54:14 -0500 Subject: gnu: emacs-recutils: Update to 1.8.2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/databases.scm (emacs-recutils): Update to 1.8.2. No longer inherit from recutils. [source]: Add origin, fetching tarball from ELPA. [native-inputs]: Add texinfo. [arguments]: Add ‘make-info’ phase. [home-page, license]: Fill in missing information no longer inherited. Signed-off-by: Liliana Marie Prikler --- gnu/packages/databases.scm | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 00e26e4839..cb3ceda5a9 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -141,6 +141,7 @@ #:use-module (gnu packages sqlite) #:use-module (gnu packages tcl) #:use-module (gnu packages terminals) + #:use-module (gnu packages texinfo) #:use-module (gnu packages textutils) #:use-module (gnu packages time) #:use-module (gnu packages tls) @@ -1344,23 +1345,33 @@ types are supported, as is encryption.") (define-public emacs-recutils (package - (inherit recutils) (name "emacs-recutils") + (version "1.8.2") + (source (origin + (method url-fetch) + (uri (string-append "https://elpa.gnu.org/packages/" + "rec-mode-" version ".tar")) + (sha256 + (base32 + "06mjj1la2v8zdhsflj3mwcp7qnkj7gxzm8wbk2pli1h8vnq2zvd0")) + (snippet '(begin (delete-file "rec-mode.info"))))) (build-system emacs-build-system) (arguments '(#:phases (modify-phases %standard-phases - (add-after 'unpack 'change-directory + (add-before 'install 'make-info (lambda _ - (chdir "etc") - #t))))) - (native-inputs '()) - (inputs '()) + (invoke "makeinfo" "--no-split" + "-o" "rec-mode.info" "rec-mode.texi")))))) + (native-inputs + `(("texinfo" ,texinfo))) + (home-page "https://www.gnu.org/software/recutils/") (synopsis "Emacs mode for working with recutils database files") (description "This package provides an Emacs major mode @code{rec-mode} for working with GNU Recutils text-based, human-editable databases. It supports editing, navigation, and querying of recutils database files -including field and record folding."))) +including field and record folding.") + (license license:gpl3+))) (define-public rocksdb (package -- cgit 1.4.1