summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-07-25 00:14:05 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-25 11:32:12 +0100
commitfbf3c58b6bd2aca0be03687d84feda0c05a68279 (patch)
treea84b839abed3be30259b46968f58ddaac23cd237 /gnu/packages/python-xyz.scm
parent51b986b42e3420d4e11a00a3aeafb28e0cee8ee8 (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm13
1 files 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/")