aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-02-16 16:49:36 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2019-02-16 19:02:06 +0100
commitc83bf1c65905ee294338107dce0d93480e14c2c2 (patch)
tree6604d2e42ffbc1664be6ddd3a117b9515b43a136
parent602fbad1e72dc13985335b7070e777cc08511984 (diff)
downloadpatches-c83bf1c65905ee294338107dce0d93480e14c2c2.tar
patches-c83bf1c65905ee294338107dce0d93480e14c2c2.tar.gz
gnu: chez-mit: Don't use unstable tarball.
* gnu/packages/chez.scm (chez-mit)[source]: Use GIT-FETCH and GIT-FILE-NAME.
-rw-r--r--gnu/packages/chez.scm12
1 files changed, 7 insertions, 5 deletions
diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm
index 1e3c4d652c..f77581393f 100644
--- a/gnu/packages/chez.scm
+++ b/gnu/packages/chez.scm
@@ -539,14 +539,16 @@ strings.")
(home-page "https://github.com/fedeinthemix/chez-mit")
(source
(origin
- (method url-fetch)
- (uri (string-append home-page "/archive/v" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
(sha256
- (base32 "1p11q061znwxzxrxg3vw4dbsnpv1dav12hjhnkrjnzyyjvvdm2kn"))
- (file-name (string-append name "-" version ".tar.gz"))))
+ (base32 "0c7i3b6i90xk96nmxn1pc9272a4yal4v40dm1a4ybdi87x53zkk0"))
+ (file-name (git-file-name name version))))
(build-system gnu-build-system)
(inputs
- `(("chez-srfi" ,chez-srfi))) ; for tests
+ `(("chez-srfi" ,chez-srfi))) ; for tests
(native-inputs
`(("chez-scheme" ,chez-scheme)))
(arguments