mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-14 10:55:23 -05:00
gnu: emacs-nov-el: Use version tag instead of commit.
* gnu/packages/emacs-xyz.scm (emacs-nov-el): Remove let binding and associated comment; correct indentation. [source]: Use version tag as commit identifier now that upstream has restored this information. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
5e5bcba295
commit
4cd2dfd9f4
1 changed files with 31 additions and 34 deletions
|
@ -12550,39 +12550,36 @@ (define-public emacs-esxml
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public emacs-nov-el
|
(define-public emacs-nov-el
|
||||||
;; Upstream does not tag releases. Specify raw commit hash matching the
|
(package
|
||||||
;; release.
|
(name "emacs-nov-el")
|
||||||
(let ((commit "ea0c835c1b5e6e70293f4bd64e9c89bdc42f8596"))
|
(version "0.3.0")
|
||||||
(package
|
(source
|
||||||
(name "emacs-nov-el")
|
(origin
|
||||||
(version "0.3.0")
|
(method git-fetch)
|
||||||
(source
|
(uri (git-reference
|
||||||
(origin
|
(url "https://depp.brause.cc/nov.el.git")
|
||||||
(method git-fetch)
|
(commit version)))
|
||||||
(uri (git-reference
|
(file-name (git-file-name name version))
|
||||||
(url "https://depp.brause.cc/nov.el.git")
|
(sha256
|
||||||
(commit commit)))
|
(base32 "04phmm14ywgicjsl2bsg6w9rapd71vdkxdp5wp0brj6px27y85jz"))))
|
||||||
(file-name (git-file-name name version))
|
(build-system emacs-build-system)
|
||||||
(sha256
|
(arguments
|
||||||
(base32 "04phmm14ywgicjsl2bsg6w9rapd71vdkxdp5wp0brj6px27y85jz"))))
|
`(#:phases
|
||||||
(build-system emacs-build-system)
|
(modify-phases %standard-phases
|
||||||
(arguments
|
(add-after 'unpack 'embed-path-to-unzip
|
||||||
`(#:phases
|
(lambda _
|
||||||
(modify-phases %standard-phases
|
(substitute* "nov.el"
|
||||||
(add-after 'unpack 'embed-path-to-unzip
|
(("\\(executable-find \"unzip\"\\)")
|
||||||
(lambda _
|
(string-append "\"" (which "unzip") "\"")))
|
||||||
(substitute* "nov.el"
|
#t)))))
|
||||||
(("\\(executable-find \"unzip\"\\)")
|
(propagated-inputs
|
||||||
(string-append "\"" (which "unzip") "\"")))
|
`(("emacs-dash" ,emacs-dash)
|
||||||
#t)))))
|
("emacs-esxml" ,emacs-esxml)))
|
||||||
(propagated-inputs
|
(inputs
|
||||||
`(("emacs-dash" ,emacs-dash)
|
`(("unzip" ,unzip)))
|
||||||
("emacs-esxml" ,emacs-esxml)))
|
(home-page "https://depp.brause.cc/nov.el/")
|
||||||
(inputs
|
(synopsis "Major mode for reading EPUBs in Emacs")
|
||||||
`(("unzip" ,unzip)))
|
(description "@code{nov.el} provides a major mode for reading EPUB
|
||||||
(home-page "https://depp.brause.cc/nov.el/")
|
|
||||||
(synopsis "Major mode for reading EPUBs in Emacs")
|
|
||||||
(description "@code{nov.el} provides a major mode for reading EPUB
|
|
||||||
documents.
|
documents.
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
@ -12599,7 +12596,7 @@ (define-public emacs-nov-el
|
||||||
@item Image rescaling
|
@item Image rescaling
|
||||||
@end itemize
|
@end itemize
|
||||||
")
|
")
|
||||||
(license license:gpl3+))))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public epipe
|
(define-public epipe
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue