gnu: clojure-tools-macro: Don't use unstable tarball.
authorTobias Geerinckx-Rice <me@tobias.gr>
Sat, 9 Feb 2019 23:39:09 +0000 (00:39 +0100)
committerTobias Geerinckx-Rice <me@tobias.gr>
Sun, 10 Feb 2019 16:45:38 +0000 (17:45 +0100)
* gnu/packages/clojure.scm (clojure-tools-macro)[source]: Use GIT-FETCH and
GIT-FILE-NAME.

gnu/packages/clojure.scm

index 8e09cfa..a9cabfe 100644 (file)
@@ -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/")