aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-06-06 15:06:19 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-06-06 15:06:19 +0200
commitdc81932ee5883c7c90e1bfd0f57b0321f4f183f9 (patch)
tree8cc967e02cdcf037ebd9cd71e21d11c3b2a2bf75 /gnu
parent8312d6f0bc1854cbb4c88c90591b994e1c5aab91 (diff)
downloadguix-dc81932ee5883c7c90e1bfd0f57b0321f4f183f9.tar
guix-dc81932ee5883c7c90e1bfd0f57b0321f4f183f9.tar.gz
gnu: emacs-highlight-escape-sequences: Fix version number.
* gnu/packages/emacs-xyz.scm (emacs-highlight-escape-sequences): Extract appropriate version number from main file.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm9
1 files changed, 4 insertions, 5 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 95d47046c1..4ccbc14a23 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -15637,12 +15637,12 @@ the previously visible buffer part after each scroll.")
(license license:gpl3+)))
(define-public emacs-highlight-escape-sequences
+ ;; No release upstream. Extract version from main file.
(let ((commit "08d846a7aa748209d65fecead2b6a766c3e5cb41")
- (revision "1"))
+ (revision "0"))
(package
(name "emacs-highlight-escape-sequences")
- (version (string-append "0.0.1" "-" revision "."
- (string-take commit 7)))
+ (version (git-version "0.4" revision commit))
(source
(origin
(method git-fetch)
@@ -15651,8 +15651,7 @@ the previously visible buffer part after each scroll.")
(commit commit)))
(file-name (git-file-name name version))
(sha256
- (base32
- "05mc3w1f8ykf80914a1yddw6j8cmh0h57llm07xh89s53821v2is"))))
+ (base32 "05mc3w1f8ykf80914a1yddw6j8cmh0h57llm07xh89s53821v2is"))))
(build-system emacs-build-system)
(home-page "https://github.com/dgutov/highlight-escape-sequences")
(synopsis "Highlight escape sequences in Emacs")