guix-commits
[Top][All Lists]
Advanced

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

08/09: gnu: python-funcy: Don't use NAME in source URI.


From: guix-commits
Subject: 08/09: gnu: python-funcy: Don't use NAME in source URI.
Date: Thu, 21 Feb 2019 20:49:54 -0500 (EST)

nckx pushed a commit to branch master
in repository guix.

commit a85c60278b326471f5e6a0f175255656659ccaa4
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Fri Feb 22 01:34:49 2019 +0100

    gnu: python-funcy: Don't use NAME in source URI.
    
    * gnu/packages/python-xyz.scm (python-funcy)[source]: Hard-code NAME.
---
 gnu/packages/python-xyz.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index bd0cea4..6242141 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13490,13 +13490,13 @@ functions by partial application of operators.")
     (version "1.11")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/Suor/funcy/archive/"; version
-                           ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Suor/funcy.git";)
+             (commit version)))
        (sha256
-        (base32
-         "19nq2qqgavb054wqwi40wiq94sd22rgpvwbjlz6h3g8zv7b8dy14"))
-       (file-name (string-append name "-" version ".tar.gz"))))
+        (base32 "1s98vkjnq3zq71737hn8xa15kssvmy1sfzsll3vrlv53902418mw"))
+       (file-name (git-file-name name version))))
     (build-system python-build-system)
     (arguments
      `(#:phases



reply via email to

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