guix-commits
[Top][All Lists]
Advanced

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

01/18: gnu: guile-colorized: Don't use unstable tarball.


From: guix-commits
Subject: 01/18: gnu: guile-colorized: Don't use unstable tarball.
Date: Mon, 11 Mar 2019 21:22:53 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 1340ce2899acebf0ff5eec64c7db881497427016
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Mar 12 01:52:50 2019 +0100

    gnu: guile-colorized: Don't use unstable tarball.
    
    * gnu/packages/guile-xyz.scm (guile-colorized)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/guile-xyz.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 1ef523d..60f3325 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -605,14 +605,15 @@ using Guile's foreign function interface.")
   (package
     (name "guile-colorized")
     (version "0.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append 
"https://github.com/NalaGinrut/guile-colorized/";
-                                  "archive/v" version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "16xhc3an6aglnca8xl3mvgi8hsqzqn68vsl5ga4bz8bvbap5fn4p"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/NalaGinrut/guile-colorized.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "10mv8c63159r3qvwwdvsgnsvdg7nc2ghak85zapwqpv4ywrqp9zc"))))
     (build-system guile-build-system)
     (native-inputs
      `(("guile" ,guile-2.2)))



reply via email to

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