From 99631313e2487c1ea853ee2e2e74a848113ed490 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 10 Feb 2019 00:39:09 +0100 Subject: [PATCH] gnu: clojure-tools-macro: Don't use unstable tarball. * gnu/packages/clojure.scm (clojure-tools-macro)[source]: Use GIT-FETCH and GIT-FILE-NAME. --- gnu/packages/clojure.scm | 11 ++++++----- 1 file 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/")