From 7d6713af10fc4449845bfef73e11f8749669169f Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Thu, 24 Jul 2025 21:19:35 +0200 Subject: [PATCH] gnu: python-mamba: Improve style and switch to git-fetch. * gnu/packages/python-xyz.scm (python-mamba): Run guix style. [source]: Switch to git-fetch. Change-Id: I87a835b2ae676126d7b04806cf784e76796694f4 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 467a0645834da42e5d07a76ed546ead1cb08aa52..3944a67321e2b6028bf274f636c3a49a94bdce6c 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -26219,16 +26219,19 @@ package attempts to address the shortcomings of @code{isodate}.") (package (name "python-mamba") (version "0.11.2") - (source (origin - (method url-fetch) - (uri (pypi-uri "mamba" version)) - (sha256 - (base32 - "15m4dpnpv9m60pdaygvwgi43fwqaivs3qxfxhspwrp47sbgwdkvm")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nestorsalceda/mamba") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1irlmakf0lf1sb8jp5kmkvxhq6b8ij9q5zn0zimdpnkq627mazbs")))) (build-system python-build-system) - (arguments `(#:tests? #f)) ; No test - (propagated-inputs - (list python-clint python-coverage)) + (arguments + `(#:tests? #f)) ;No test + (propagated-inputs (list python-clint python-coverage)) (home-page "https://nestorsalceda.com/mamba/") (synopsis "Test runner for Python") (description