gnu: emacs-highlight-escape-sequences: Fix version number.

* gnu/packages/emacs-xyz.scm (emacs-highlight-escape-sequences): Extract
appropriate version number from main file.
This commit is contained in:
Nicolas Goaziou 2020-06-06 15:06:19 +02:00
parent 8312d6f0bc
commit dc81932ee5
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -15637,12 +15637,12 @@ (define-public emacs-on-screen
(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 @@ (define-public emacs-highlight-escape-sequences
(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")