guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: guix-commits
Subject: 82/88: gnu: sbcl-flexi-streams: Don't use unstable tarball.
Date: Wed, 10 Apr 2019 23:44:49 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 574edcc006322f0ecc084820cb93234fa66e802a
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Apr 9 00:19:14 2019 +0200

    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.
---
 gnu/packages/lisp.scm | 19 +++++++++++++------
 1 file changed, 13 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 1cb62ae..824027c 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -818,14 +818,21 @@ logical continuation of Stefil.  It focuses on 
interactive debugging.")
     (version "1.0.16")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://github.com/edicl/flexi-streams/archive/v";
-             version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/edicl/flexi-streams.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name "flexi-streams" version))
        (sha256
-        (base32 "1fb0jrwxr5c3i2lhy7kn30m1n0vggfzwjm1dacx6y5wf9wfsbamw"))
-       (file-name (string-append "flexi-streams-" version ".tar.gz"))))
+        (base32 "0gvykjlmja060zqq6nn6aqxlshh6r6ijahmmgf20q0d839rwpgxc"))))
     (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)))
     (synopsis "Implementation of virtual bivalent streams for Common Lisp")
     (description "Flexi-streams is an implementation of \"virtual\" bivalent



reply via email to

[Prev in Thread] Current Thread [Next in Thread]