gnu: sbcl-flexi-streams: Don't use unstable tarball.

* gnu/packages/lisp.scm (sbcl-flexi-streams)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
[arguments]: Add ‘make-git-checkout-writable’ phase.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-09 00:19:14 +02:00
parent 02fbb5c304
commit 574edcc006
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 13 additions and 6 deletions

View File

@ -818,14 +818,21 @@ logical continuation of Stefil. It focuses on interactive debugging.")
(version "1.0.16") (version "1.0.16")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append (uri (git-reference
"https://github.com/edicl/flexi-streams/archive/v" (url "https://github.com/edicl/flexi-streams.git")
version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name "flexi-streams" version))
(sha256 (sha256
(base32 "1fb0jrwxr5c3i2lhy7kn30m1n0vggfzwjm1dacx6y5wf9wfsbamw")) (base32 "0gvykjlmja060zqq6nn6aqxlshh6r6ijahmmgf20q0d839rwpgxc"))))
(file-name (string-append "flexi-streams-" version ".tar.gz"))))
(build-system asdf-build-system/sbcl) (build-system asdf-build-system/sbcl)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'make-git-checkout-writable
(lambda _
(for-each make-file-writable (find-files "."))
#t)))))
(inputs `(("trivial-gray-streams" ,sbcl-trivial-gray-streams))) (inputs `(("trivial-gray-streams" ,sbcl-trivial-gray-streams)))
(synopsis "Implementation of virtual bivalent streams for Common Lisp") (synopsis "Implementation of virtual bivalent streams for Common Lisp")
(description "Flexi-streams is an implementation of \"virtual\" bivalent (description "Flexi-streams is an implementation of \"virtual\" bivalent