guix-commits
[Top][All Lists]
Advanced

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

05/07: gnu: python-urwidtrees: Don't use unstable tarball.


From: guix-commits
Subject: 05/07: gnu: python-urwidtrees: Don't use unstable tarball.
Date: Mon, 6 Jan 2020 04:31:52 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit c83640728cc39edf8ef65a532b62c772f25ac9d3
Author: Efraim Flashner <address@hidden>
AuthorDate: Mon Jan 6 09:34:36 2020 +0200

    gnu: python-urwidtrees: Don't use unstable tarball.
    
    * gnu/packages/python-xyz.scm (python-urwidtrees)[source]: Download
    using git-fetch.
---
 gnu/packages/python-xyz.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 475f37f..eeb073e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5620,15 +5620,16 @@ features useful for text console applications.")
     (version "1.0.2")
     (source
       (origin
-        (method url-fetch)
+        (method git-fetch)
         ;; package author intends on distributing via github rather than pypi:
         ;; https://github.com/pazz/alot/issues/877#issuecomment-230173331
-        (uri (string-append "https://github.com/pazz/urwidtrees/archive/";
-                            version ".tar.gz"))
-        (file-name (string-append name "-" version ".tar.gz"))
+        (uri (git-reference
+               (url "https://github.com/pazz/urwidtrees";)
+               (commit version)))
+        (file-name (git-file-name name version))
         (sha256
           (base32
-            "0d30lyd3s2a97rhqfax5w9ssqds2z6aydqx3c6j2c2lk3cb4ngvh"))))
+           "1n1kpidvkdnsqyb82vlvk78gmly96kh8351lqxn2pzgwwns6fml2"))))
     (build-system python-build-system)
     (arguments
      '(#:tests? #f)) ; no tests



reply via email to

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