sharlatan pushed a commit to branch master
in repository guix.

commit e30c169becc202e0baff6898df1cdaa1b0beb14e
Author: Attila Lendvai <[email protected]>
AuthorDate: Sun Nov 24 12:28:19 2024 +0100

    gnu: python-pycurl: Build from git.
    
    * gnu/packages/python-web.scm (python-pycurl) [source]: Swap to git
    checkout.
    
    Change-Id: I1b347c04022970ffe42a87530e525a83745ff84c
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-web.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9bd6d10ef0..9064f46288 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2020,10 +2020,15 @@ Amazon S3 compatible object storage server.")
     (version "7.45.2")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "pycurl" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pycurl/pycurl";)
+             (commit (string-append
+                      "REL_" (string-replace-substring version "." "_")))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1ji46b924caa4saxvjxs9h673yy0kif297nxpnjn84r7w05mjc2p"))))
+        (base32
+         "1dzdramcgf63m1zg8glhqa3ik9anzjy954mshk7s3z3gsi21n8fp"))))
     (build-system pyproject-build-system)
     (arguments
      '(#:test-flags

Reply via email to