diff mbox

[1/5] gnu: geiser-next: Re-introduce it.

Message ID CAKrPhPP0jNVm62CCm91cmvt3z2WnH6xKuk5OJpwi9cDQEMoSUQ@mail.gmail.com
State New
Headers show

Commit Message

Federico Beffa Oct. 25, 2016, 4:18 p.m. UTC
Unfortunately it was forgot to include support files for Chibi and
Chez in the 0.9 Geiser release tar archive.  For this reason I'm
proposing to reintroduce 'chez-next'.

Regards,
Fede

Comments

Ludovic Courtès Oct. 28, 2016, 1:41 p.m. UTC | #1
Federico Beffa <beffa@ieee.org> skribis:

> Unfortunately it was forgot to include support files for Chibi and
> Chez in the 0.9 Geiser release tar archive.  For this reason I'm
> proposing to reintroduce 'chez-next'.
>
> Regards,
> Fede
>
> From 4cb3a1774754ffec91e00b681ffb4acff3e77b4e Mon Sep 17 00:00:00 2001
> From: Federico Beffa <beffa@fbengineering.ch>
> Date: Mon, 24 Oct 2016 09:56:35 +0200
> Subject: [PATCH 1/5] gnu: geiser-next: Re-introduce it.
>
> * gnu/packages/emacs.scm (geiser-next): Re-introduce it.

OK!

Ludo’.
diff mbox

Patch

From 4cb3a1774754ffec91e00b681ffb4acff3e77b4e Mon Sep 17 00:00:00 2001
From: Federico Beffa <beffa@fbengineering.ch>
Date: Mon, 24 Oct 2016 09:56:35 +0200
Subject: [PATCH 1/5] gnu: geiser-next: Re-introduce it.

* gnu/packages/emacs.scm (geiser-next): Re-introduce it.
---
 gnu/packages/emacs.scm | 32 ++++++++++++++++++++++++++++++--
 1 file changed, 30 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 66a90a8..dd80709 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -298,8 +298,36 @@  metadata.")
     (license license:bsd-3)))
 
 (define-public geiser-next
-  ;; This has become "geiser".
-  (deprecated-package "geiser-next" geiser))
+  ;; Geiser's upcoming version supports Chibi and Chez, while it was forgot to
+  ;; include some required files in 0.9.  When the next Geiser release comes
+  ;; out, we can remove this.
+  (let ((commit "16035b9fa475496f7f89a57fa81455057af749a0")
+        (revision "1"))
+    (package
+      (inherit geiser)
+      (name "geiser-next")
+      (version (string-append "0.9-" revision "." (string-take commit 7)))
+      (source (origin
+                (method git-fetch)
+                (file-name (string-append name "-" version ".tar.gz"))
+                (uri (git-reference
+                      (url "git://git.sv.gnu.org/geiser.git")
+                      (commit commit)))
+                (sha256
+                 (base32
+                  "1rrafizrhjkai0msryjiz4c5dcdyihf0i2wmgiy8br74rwbxpyl5"))))
+      (native-inputs
+       `(("autoconf" ,autoconf)
+         ("automake" ,automake)
+         ("texinfo" ,texinfo)
+         ,@(package-native-inputs geiser)))
+      (arguments
+       (substitute-keyword-arguments (package-arguments geiser)
+         ((#:phases phases)
+          `(modify-phases ,phases
+             (add-after 'unpack 'autogen
+               (lambda _
+                 (zero? (system* "sh" "autogen.sh")))))))))))
 
 (define-public paredit
   (package
-- 
2.10.1