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

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

View File

@ -569,14 +569,16 @@ required to port the program 'Scmutils' to Chez Scheme.")
(home-page "https://github.com/fedeinthemix/chez-scmutils") (home-page "https://github.com/fedeinthemix/chez-scmutils")
(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 "1a5j61pggaiwl1gl6m038rcy5n8r2sj5nyjmz86jydx97mm5i8hj")) (base32 "0lb05wlf8qpgg8y0gdsyaxg1nbfx1qbaqdjvygrp64ndn8fnhq7l"))
(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)))
(propagated-inputs (propagated-inputs
@ -584,7 +586,7 @@ required to port the program 'Scmutils' to Chez Scheme.")
("chez-srfi" ,chez-srfi))) ("chez-srfi" ,chez-srfi)))
(arguments (arguments
`(#:make-flags ,(chez-make-flags name version) `(#:make-flags ,(chez-make-flags name version)
#:tests? #f ; no test suite #:tests? #f ; no test suite
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'configure ,chez-configure) (replace 'configure ,chez-configure)