summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-01-28 15:35:25 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-01-28 15:35:25 +0100
commit70d89980c72d33ae6d08a27a0a8dfa7e49b6f345 (patch)
tree2008a4b16780075f8d0497dc458bf39151bf522f /gnu
parent3d46e8837ea29ddb800dfd121f518dfdaf8e6a56 (diff)
gnu: emacs-org2web: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-org2web)[arguments]<#:phases>: Add a phase to fix byte-compilation. [synopsis, description]: Use proper capitalization.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm22
1 files changed, 18 insertions, 4 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 175b735730..65fea94255 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16948,13 +16948,27 @@ and lambdas.")
(sha256
(base32 "0wsvfn409a2ivbich8b8zqza78sprirg4bl7igx536ydqclmi0n7"))))
(build-system emacs-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'fix-byte-compilation
+ ;; XXX: The fix below was integrated upstream and can be removed
+ ;; in next release.
+ (lambda _
+ (substitute* "org2web-el2org.el"
+ (("(define-obsolete-function-alias .*)\\)" _ lead)
+ (string-append lead " \"0.1\")"))))))))
(propagated-inputs
- (list emacs-dash emacs-el2org emacs-ht emacs-mustache
+ (list emacs-dash
+ emacs-el2org
+ emacs-ht
+ emacs-mustache
emacs-simple-httpd))
(home-page "https://github.com/tumashu/org2web")
- (synopsis "Static site generator based on org-mode")
- (description "Org2web is a static site generator based on org-mode,
-which code derived from Kelvin H's org-page.")
+ (synopsis "Static site generator based on Org mode")
+ (description "Org2web is a static site generator based on Org mode, which
+code derived from Kelvin H's Org page.")
(license license:gpl2+)))
(define-public emacs-meow