gnu: clojure-tools-macro: Don't use unstable tarball.

* gnu/packages/clojure.scm (clojure-tools-macro)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-02-10 00:39:09 +01:00
parent 62dbf78b65
commit 99631313e2
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -280,12 +280,13 @@ (define-public clojure-tools-macro
(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/")