From 15218d4e18dab06c1071370e12e95a84210a59e8 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 4 Feb 2019 11:15:52 +0100 Subject: gnu: guile-wisp: Update to 0.9.9.1. * gnu/packages/guile-xyz.scm (guile-wisp): Update to 0.9.9.1. [arguments]: Add phases to build and install Emacs files. [native-inputs]: Add emacs-minimal. --- gnu/packages/guile-xyz.scm | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 77d117f248..9640d17c3c 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -47,6 +47,7 @@ (define-module (gnu packages guile-xyz) #:use-module (gnu packages compression) #:use-module (gnu packages disk) #:use-module (gnu packages ed) + #:use-module (gnu packages emacs) #:use-module (gnu packages gawk) #:use-module (gnu packages gettext) #:use-module (gnu packages gl) @@ -1236,7 +1237,7 @@ (define-public guile-ics (define-public guile-wisp (package (name "guile-wisp") - (version "0.9.9") + (version "0.9.9.1") (source (origin (method url-fetch) (uri (string-append "https://bitbucket.org/ArneBab/" @@ -1244,13 +1245,18 @@ (define-public guile-wisp version ".tar.gz")) (sha256 (base32 - "1xa0f0fvcrimqap50azv5872bfx8jbhc6baxa1prpbwcksbh8gdz")))) + "1ii14qz1lx7ffhb8i9q7dgaiwbif8g2q182skx17j11skp65c8r3")))) (build-system gnu-build-system) (arguments `(#:modules ((guix build gnu-build-system) + ((guix build emacs-build-system) #:prefix emacs:) (guix build utils) + (guix build emacs-utils) (ice-9 rdelim) (ice-9 popen)) + #:imported-modules (,@%gnu-build-system-modules + (guix build emacs-build-system) + (guix build emacs-utils)) #:phases (modify-phases %standard-phases (add-before 'configure 'patch-/usr/bin/env @@ -1284,12 +1290,19 @@ (define-public guile-wisp (invoke "guild" "compile" "-L" module-dir file "-o" go))) (find-files module-dir "\\.scm$")) - #t)))))) + #t))) + (add-after 'install 'install-emacs-files + (assoc-ref emacs:%standard-phases 'install)) + (add-after 'install-emacs-files 'compile-emacs-files + (assoc-ref emacs:%standard-phases 'build)) + (add-after 'compile-emacs-files 'make-autoloads + (assoc-ref emacs:%standard-phases 'make-autoloads))))) (home-page "https://draketo.de/english/wisp") (inputs `(("guile" ,guile-2.2))) (native-inputs - `(("python" ,python) + `(("emacs" ,emacs-minimal) + ("python" ,python) ("pkg-config" ,pkg-config))) (synopsis "Whitespace to lisp syntax for Guile") (description "Wisp is a syntax for Guile which provides a Python-like -- cgit v1.2.3