From d895ba55b695be2cf10e125bbb39f2b3f9333eb6 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Mon, 10 Nov 2025 01:28:38 +0100 Subject: [PATCH] gnu: python-mujson: Switch to pyproject. * gnu/packages/python-xyz.scm (python-mujson): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them. [native-inputs]: Add python-setuptools. [description]: Improve style. Change-Id: I945102d9215fcc24c0f04003f30304316afe0821 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4dc3d96f5a3afd2a70225d71886f28525e861ee1..1ca21922490a7f25be67d087de018828ec6ed5b5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30583,17 +30583,22 @@ allows you, from Python code, to “fix” invalid (X)HTML markup.") (name "python-mujson") (version "1.4") (source - (origin - (method url-fetch) - (uri (pypi-uri "mujson" version)) - (sha256 - (base32 - "0wbj6r8yzsdx2b0kbldlkznr1a9nn33za2q9x3g0hbg420dwzn97")))) - (build-system python-build-system) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mattgiles/mujson") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1j0pcqyxpivk8nn7xx5d0pj40g22psd6v2r7l4m8b6h4hrdn9cij")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #f)) ;No tests. + (native-inputs (list python-setuptools)) (home-page "https://github.com/mattgiles/mujson") (synopsis "Use the fastest JSON functions available at import time") - (description "This package selects the fastest JSON functions available -at import time.") + (description + "This module selects the fastest JSON functions available at import time +in Python.") (license license:expat))) (define-public python-bashlex