aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-02-10 00:39:09 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-02-10 17:45:38 +0100
commit99631313e2487c1ea853ee2e2e74a848113ed490 (patch)
treebee365385a67ae4ece70c2beadedd56366206bda
parent62dbf78b65424bf8c03a47338bcfba1fa5786246 (diff)
downloadpatches-99631313e2487c1ea853ee2e2e74a848113ed490.tar
patches-99631313e2487c1ea853ee2e2e74a848113ed490.tar.gz
gnu: clojure-tools-macro: Don't use unstable tarball.
* gnu/packages/clojure.scm (clojure-tools-macro)[source]: Use GIT-FETCH and GIT-FILE-NAME.
-rw-r--r--gnu/packages/clojure.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index 8e09cfa69d..a9cabfe008 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -280,12 +280,13 @@ tree.
(version "0.1.5")
(source
(origin
- (method url-fetch)
- (uri
- (string-append "https://github.com/clojure/tools.macro/archive"
- "/tools.macro-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/clojure/tools.macro.git")
+ (commit (string-append "tools.macro-" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0fs64a0g63xx6g7sj6vrsqknhl90s0isf6k053nw8vv5prfzc7v6"))))
+ (base32 "14mdxqkwja0cffmyfav5pbcli2qvw1mjdgz0n619a2z2036andx8"))))
(build-system clojure-build-system)
(arguments
'(#:source-dirs '("src/main/clojure/")