diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-04 00:54:53 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-04 00:54:53 +0100 |
commit | 0c5a58e34d894b95d94c61aae0525a01fa18ecd2 (patch) | |
tree | 8a6ef3e0861298c00967283c33f9b154fad1b16f /gnu | |
parent | 00a7268afe81d714c3b0f3d47986ed5242db8ab5 (diff) | |
download | guix-0c5a58e34d894b95d94c61aae0525a01fa18ecd2.tar.gz guix-0c5a58e34d894b95d94c61aae0525a01fa18ecd2.zip |
gnu: emacs-epkg: Update to 3.3.2.
* gnu/packages/emacs-xyz.scm (emacs-epkg): Update to 3.3.2.
[arguments]<#:phases>: Add phases to build documentation and follow upstream
directory structure.
[native-inputs]: Add TEXINFO.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 73f6692363..66aa211df5 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -17018,7 +17018,7 @@ add any additional instance slots.") (define-public emacs-epkg (package (name "emacs-epkg") - (version "3.3.1") + (version "3.3.2") (source (origin (method git-fetch) @@ -17027,9 +17027,31 @@ add any additional instance slots.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 - "0z9sz9ydfjzhawh4qip41h3vid1lslaf0h14hkjz9kx8fkrzib8a")))) + (base32 "18kjp0f5ch4mpd6yrd83p73pw7ykp2lv5686is8vcvyyys53jrf1")))) (build-system emacs-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'install 'make-info + ;; Documentation is located in "docs/". + (lambda* (#:key outputs #:allow-other-keys) + (with-directory-excursion "docs" + (invoke "makeinfo" "-o" "epkg.info" "epkg.texi") + (let ((info (string-append (assoc-ref outputs "out") + "/share/info"))) + (install-file "epkg.info" info))))) + (add-after 'make-info 'move-to-lisp-directory + ;; Source code is located in "lisp/". + (lambda _ + (chdir "lisp"))) + (add-after 'expand-load-path 'add-el-dir-to-emacs-load-path + (lambda _ + (setenv "EMACSLOADPATH" + (string-append (getcwd) + "/lisp:" + (getenv "EMACSLOADPATH")))))))) + (native-inputs + (list texinfo)) (propagated-inputs (list emacs-closql emacs-dash)) (home-page "https://emacsmirror.net") |