From 70d89980c72d33ae6d08a27a0a8dfa7e49b6f345 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 28 Jan 2023 15:35:25 +0100 Subject: 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. --- gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'gnu') 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 -- cgit v1.2.3