gnu: chez-mit: Don't use unstable tarball.

* gnu/packages/chez.scm (chez-mit)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-02-16 16:49:36 +01:00
parent 602fbad1e7
commit c83bf1c659
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 7 additions and 5 deletions

View File

@ -539,14 +539,16 @@ strings.")
(home-page "https://github.com/fedeinthemix/chez-mit") (home-page "https://github.com/fedeinthemix/chez-mit")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append home-page "/archive/v" version ".tar.gz")) (uri (git-reference
(url home-page)
(commit (string-append "v" version))))
(sha256 (sha256
(base32 "1p11q061znwxzxrxg3vw4dbsnpv1dav12hjhnkrjnzyyjvvdm2kn")) (base32 "0c7i3b6i90xk96nmxn1pc9272a4yal4v40dm1a4ybdi87x53zkk0"))
(file-name (string-append name "-" version ".tar.gz")))) (file-name (git-file-name name version))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("chez-srfi" ,chez-srfi))) ; for tests `(("chez-srfi" ,chez-srfi))) ; for tests
(native-inputs (native-inputs
`(("chez-scheme" ,chez-scheme))) `(("chez-scheme" ,chez-scheme)))
(arguments (arguments