guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: emacs-4clojure: Fix version.


From: guix-commits
Subject: branch master updated: gnu: emacs-4clojure: Fix version.
Date: Wed, 22 Apr 2020 18:11:14 -0400

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 034a3ea  gnu: emacs-4clojure: Fix version.
034a3ea is described below

commit 034a3eacf7a95f93dcdf9f00e2e36ee50851e6a7
Author: Nicolas Goaziou <address@hidden>
AuthorDate: Thu Apr 23 00:10:08 2020 +0200

    gnu: emacs-4clojure: Fix version.
    
    * gnu/packages/emacs-xyz.scm (emacs-4clojure)[version]: Use `git-version' as
    there is no proper release.
---
 gnu/packages/emacs-xyz.scm | 42 +++++++++++++++++++++++-------------------
 1 file changed, 23 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2d20cf0..9c1d6f4 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5384,27 +5384,31 @@ board and goal value can be customized.")
     (license license:gpl3+)))
 
 (define-public emacs-4clojure
-  (package
-    (name "emacs-4clojure")
-    (version "0.2.1")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/emacsorphanage/4clojure.git";)
-             (commit "4eccf8c7d4341a36c269451838114b27836699f9")))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "19x653lzc1dxil4ix257hciidbdmbhaxhs6qhlkwi9ygjrlrgvnk"))))
-    (build-system emacs-build-system)
-    (propagated-inputs
-     `(("emacs-request" ,emacs-request)))
-    (home-page "https://github.com/emacsorphanage/4clojure/";)
-    (synopsis "Open and evaluate 4clojure questions in Emacs")
-    (description "Emacs 4clojure interacts with @url{http://www4clojure.com,
+  ;; There is no release.  Base version is extracted from Version keyword in
+  ;; the main file.
+  (let ((commit "4eccf8c7d4341a36c269451838114b27836699f9")
+        (revision "1"))
+    (package
+      (name "emacs-4clojure")
+      (version (git-version "0.2.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/emacsorphanage/4clojure.git";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "19x653lzc1dxil4ix257hciidbdmbhaxhs6qhlkwi9ygjrlrgvnk"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+       `(("emacs-request" ,emacs-request)))
+      (home-page "https://github.com/emacsorphanage/4clojure/";)
+      (synopsis "Open and evaluate 4clojure questions in Emacs")
+      (description "Emacs 4clojure interacts with @url{http://www4clojure.com,
 4clojure} problems.  You can open a specific question and move to the next or
 previous one.  You can also verify you answers.")
-    (license license:gpl3)))
+      (license license:gpl3))))
 
 (define-public emacs-base16-theme
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]