guix-commits
[Top][All Lists]
Advanced

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

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


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

efraim pushed a commit to branch master
in repository guix.

commit ac0ea38c2c1b928f6f1138512e71cb44dbbb88d7
Author: Efraim Flashner <address@hidden>
AuthorDate: Mon Jan 6 09:39:24 2020 +0200

    gnu: python-whatever: Don't use unstable tarball.
    
    * gnu/packages/python-xyz.scm (python-whatever)[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 56deb57..e6f6e41 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -14613,12 +14613,13 @@ files, and Makefiles.")
     (version "0.6")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/Suor/whatever/archive/"; version
-                           ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/Suor/whatever";)
+              (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1rchg9hrlvw4sn20lq1zspczr4x1pv57c02gv73igiqx1hqpy2nc"))
-       (file-name (string-append name "-" version ".tar.gz"))))
+        (base32 "1q7ajgqjfivxqsqgnhp4lc4p6jxyh4zprcsdbpd6dw54inaf0av5"))))
     (build-system python-build-system)
     (arguments
      `(#:phases



reply via email to

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