aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/clojure.scm
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2019-01-24 13:48:31 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-29 10:59:06 +0100
commit9e532ae22a2064298dbfbd45c0fa07e290520818 (patch)
tree0338bba2b0cb9df492ccf37f04875c594ee2b09e /gnu/packages/clojure.scm
parentb412ddcb1a73bb8d7c9941ac3018e26345d70218 (diff)
downloadpatches-9e532ae22a2064298dbfbd45c0fa07e290520818.tar
patches-9e532ae22a2064298dbfbd45c0fa07e290520818.tar.gz
gnu: clojure: Update to 1.10.0.
* gnu/packages/clojure.scm (clojure): Update to 1.10.0. [source]: Use 'git-fetch'.
Diffstat (limited to 'gnu/packages/clojure.scm')
-rw-r--r--gnu/packages/clojure.scm19
1 files changed, 10 insertions, 9 deletions
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index 1dba4cef87..8112b65278 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -65,15 +65,16 @@
(package
(name "clojure")
- (version "1.9.0")
- (source
- (origin
- (method url-fetch)
- (uri
- (string-append "https://github.com/clojure/clojure/archive/clojure-"
- version ".tar.gz"))
- (sha256
- (base32 "0xjbzcw45z32vsn9pifp7ndysjzqswp5ig0jkjpivigh2ckkdzha"))))
+ (version "1.10.0")
+ (source (let ((name+version (string-append name "-" version)))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/clojure/clojure")
+ (commit name+version)))
+ (file-name (string-append name+version "-checkout"))
+ (sha256
+ (base32 "1kcyv2836acs27vi75hvf3r773ahv2nlh9b3j9xa9m9sdanz1h83")))))
(build-system ant-build-system)
(arguments
`(#:imported-modules ((guix build clojure-utils)