[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52439] [PATCH 1/2] gnu: Add emacs-rec-mode.
From: |
Morgan . J . Smith |
Subject: |
[bug#52439] [PATCH 1/2] gnu: Add emacs-rec-mode. |
Date: |
Sat, 11 Dec 2021 14:39:49 -0500 |
From: Morgan Smith <Morgan.J.Smith@outlook.com>
* gnu/packages/emacs-xyz.scm (emacs-rec-mode): New variable.
---
gnu/packages/emacs-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 4fdc5f1bb3..aada2b17ce 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -22004,6 +22004,46 @@ (define-public emacs-org-brain
wiki.")
(license license:expat)))
+(define-public emacs-rec-mode
+ ;; Compilation issues with latest release. When updating to a proper
+ ;; version, we should change the origin to elpa.
+ (let ((commit "646962cff4f728cfa56c72ed43de8936713c8bb6")
+ (revision "0"))
+ (package
+ (name "emacs-rec-mode")
+ (version (git-version "1.8.1" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
"https://git.savannah.gnu.org/git/recutils/rec-mode.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1f5d5kf4rc84v8208qh0l8f5ac92fjqvrlgz0hhgj764v8w2ahpq"))
+ (modules '((guix build utils)))
+ (snippet '(begin (delete-file "rec-mode.info")))))
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-before 'install 'make-info
+ (lambda _
+ (invoke "makeinfo" "--no-split"
+ "-o" "rec-mode.info" "rec-mode.texi"))))))
+ (native-inputs
+ `(("texinfo" ,texinfo)))
+ (build-system emacs-build-system)
+ (home-page "https://www.gnu.org/software/recutils/")
+ (synopsis "Major mode for viewing/editing rec files")
+ (description "Rec Mode is a mode for browsing and editing recfiles,
+which are text files containing data structured in fields and records. It is
+part of the GNU recutils suite.
+
+Recfiles are text-based databases which are easy to read and write manually
+using a text editor. At the same time they feature enough structure so they
+can be read, edited and processed automatically by programs.")
+ (license license:gpl3+))))
+
(define-public emacs-recent-addresses
(let ((commit "afbbfdc43b81e620acf827ca20d297e0c517b6eb")
(revision "1"))
--
2.34.0
- [bug#52439] [PATCH 1/2] gnu: Add emacs-rec-mode.,
Morgan . J . Smith <=
[bug#52439] [PATCH] gnu: emacs-recutils: Update to 1.8.2-0.058dbe4., Morgan . J . Smith, 2021/12/13