guix-commits
[Top][All Lists]
Advanced

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

01/08: gnu: python-colorspacious: Don't use unstable tarball.


From: guix-commits
Subject: 01/08: gnu: python-colorspacious: Don't use unstable tarball.
Date: Wed, 20 Mar 2019 15:43:01 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit dee92e65a239b2b0b3606a11d0fb3e0a5139ce79
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Wed Mar 20 04:57:38 2019 +0100

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f9617b1..3ffe57a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3521,13 +3521,14 @@ To address this and enable easy cycling over arbitrary 
@code{kwargs}, the
     (name "python-colorspacious")
     (version "1.1.0")
     (source
-      (origin
-        (method url-fetch)
-        (uri (string-append 
"https://github.com/njsmith/colorspacious/archive/v";
-                            version ".tar.gz"))
-        (file-name (string-append name "-" version))
-        (sha256
-         (base32 "1vflh5jm32qb0skza2i8pjacv09w6gq84fqpp2nj77s0rbmzgr4k"))))
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/njsmith/colorspacious.git";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0g0lxqiscy5g5rq9421vv7abg0c90jzy0zmas2z3hya6k2dr5aid"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-numpy" ,python-numpy)))



reply via email to

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