From 034a3eacf7a95f93dcdf9f00e2e36ee50851e6a7 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 23 Apr 2020 00:10:08 +0200 Subject: 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 2d20cf04cf..9c1d6f45c6 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 -- cgit v1.2.3