guix_mirror_bot pushed a commit to branch master
in repository guix.
commit fbf3c58b6bd2aca0be03687d84feda0c05a68279
Author: Nicolas Graves <[email protected]>
AuthorDate: Fri Jul 25 00:14:05 2025 +0200
gnu: python-fields: Fetch source from git.
* gnu/packages/python-xyz.scm (python-fields):
[source]: Switch to git-fetch.
Change-Id: I7bb11fe35b53cc641acfcba13bd9cabc1e6d7331
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-xyz.scm | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b37c328afd..561dc16077 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -37095,11 +37095,14 @@ It implements advanced Python dictionaries with dot
notation access.")
(name "python-fields")
(version "5.0.0")
(source
- (origin
- (method url-fetch)
- (uri (pypi-uri "fields" version))
- (sha256
- (base32 "09sppvhhkhkv9zc9g994m53z15v92csxwcf42ggkaknlv01smm1i"))))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ionelmc/python-fields")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0jzf90i3sig9alm96jvp8l0i5mpvwzqwbi0kgjsb69n6dca3nbnc"))))
(build-system pyproject-build-system)
(native-inputs (list python-setuptools python-wheel))
(home-page "https://python-fields.readthedocs.io/")