diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-24 21:19:35 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-25 11:32:15 +0100 |
commit | 7d6713af10fc4449845bfef73e11f8749669169f (patch) | |
tree | c60479ad3d0f3fc4aa60c21a4a3f3c82e4dccf4c /gnu/packages/python-xyz.scm | |
parent | a138371f32f50e66a36d58daa63067d1ecdb0f82 (diff) |
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 467a064583..3944a67321 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 |