From fbf3c58b6bd2aca0be03687d84feda0c05a68279 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Fri, 25 Jul 2025 00:14:05 +0200 Subject: [PATCH] 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 --- 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 b37c328afd3a2652101c94305c15ff276f435716..561dc16077781358debd8d1569d97002ab2b1606 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/")