aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-02-10 00:34:10 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-02-10 17:45:38 +0100
commit85e0827d909ff352ee8f56ccb740a7d5913e560e (patch)
treef47c09d68bf6effbd95280bf629a650f26c0af81
parentfba9a660954f77ef8ba0c481345ded9b7948ec22 (diff)
downloadguix-85e0827d909ff352ee8f56ccb740a7d5913e560e.tar
guix-85e0827d909ff352ee8f56ccb740a7d5913e560e.tar.gz
gnu: clojure-algo-generic: Don't use unstable tarball.
* gnu/packages/clojure.scm (clojure-algo-generic)[source]: Use GIT-FETCH and GIT-FILE-NAME.
-rw-r--r--gnu/packages/clojure.scm12
1 files changed, 7 insertions, 5 deletions
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index 8112b65278..2f82f347b6 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
+;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -147,12 +148,13 @@ designs.")
(version "0.1.3")
(source
(origin
- (method url-fetch)
- (uri
- (string-append "https://github.com/clojure/algo.generic/archive"
- "/algo.generic-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/clojure/algo.generic.git")
+ (commit (string-append "algo.generic-" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "12w9681i545gp1af4576z1qbixwps1j13c16fmcc7zsb0bd1zr7w"))))
+ (base32 "1s6q10qp276dcpzv06bq1q3bvkvlw03qhmncqcs9cc6p9lc0w4p4"))))
(build-system clojure-build-system)
(arguments
'(#:source-dirs '("src/main/clojure/")