From db277e18c23467a2d46d6c3391d8ac3bc8119685 Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Sun, 21 Sep 2025 12:07:46 +0200 Subject: [PATCH] gnu: python-dotty-dict: Fix build. * gnu/packages/python-xyz.scm (python-dotty-dict): Fix build. [source]: Switch got git-fetch. [native-inputs]: Add python-pytest. Change-Id: I453ed9910197892bc46ef3339fa47e72c222fb91 Modified-by: Sharlatan Hellseher Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5b0f0dc4d1a9c8f3619a53a9fa60d2425c3c9453..7e53cb7ca94a6b726052d2f506c41eda9e66ba9c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2351,14 +2351,19 @@ dictionary, can be convert to a dictionary, and is ordered by insertion.") (package (name "python-dotty-dict") (version "1.3.1") - (source (origin - (method url-fetch) - (uri (pypi-uri "dotty_dict" version)) - (sha256 - (base32 - "058sah2nyg44xq5wxywlzc3abzcv9fifnlvsflwma9mfp01nw0ab")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pawelzny/dotty_dict") + (commit (string-append "v" version)))) + (sha256 + (base32 "0rs83pglkgb4sfnk09rskg8c53hvl7mkjw4vfgl5xc8z13vyi3li")))) (build-system pyproject-build-system) - (native-inputs (list python-poetry-core python-setuptools)) + (native-inputs + (list python-poetry-core + python-pytest + python-setuptools)) (home-page "https://github.com/pawelzny/dotty_dict") (synopsis "Python library for accessing dictionaries using a dot syntax") (description "This package provides a library that wraps the traditional