gnu: clojure-algo-monads: Don't use unstable tarball.

* gnu/packages/clojure.scm (clojure-algo-monads)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-02-10 00:39:02 +01:00
parent 85e0827d90
commit 62dbf78b65
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 5 deletions

View File

@ -173,12 +173,13 @@ that can be implemented for any data type.")
(version "0.1.6") (version "0.1.6")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (uri (git-reference
(string-append "https://github.com/clojure/algo.monads/archive" (url "https://github.com/clojure/algo.monads.git")
"/algo.monads-" version ".tar.gz")) (commit (string-append "algo.monads-" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "14gbvfgmrda990h45yn7zag83vp1kdkz4f4yzmyvkr0sjihlgdmq")))) (base32 "0mv3ba72hyhgasg2k3zy83ij61gak6cs4d6qgh8123z3j02mbh8p"))))
(build-system clojure-build-system) (build-system clojure-build-system)
(arguments (arguments
'(#:source-dirs '("src/main/clojure/") '(#:source-dirs '("src/main/clojure/")