From 3fc6c9bfc56834606de9a6e0b75f11f1bece2036 Mon Sep 17 00:00:00 2001 From: Josep Bigorra Date: Thu, 7 Aug 2025 11:53:29 +0200 Subject: [PATCH] gnu: Add python-puccinialin. * gnu/packages/python-xyz.scm (python-puccinialin): New variable. Change-Id: Id647ddd599f4d942afba67a23c102043981d81d1 Modified-by: Sharlatan Hellseher Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 2e6d67f7b8d0311189b7a35098ce68899594b23c..831c439b87afa47b9910b546fffca573b3b9a0d9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -166,6 +166,7 @@ ;;; Copyright © 2025, Cayetano Santos ;;; Copyright © 2025 Jake Forster ;;; Copyright © 2025 Luis Felipe López Acevedo +;;; Copyright © 2025 Josep Bigorra ;;; ;;; This file is part of GNU Guix. ;;; @@ -925,6 +926,34 @@ of Ordered Set.") your terminal.") (license license:expat))) +(define-public python-puccinialin + (package + (name "python-puccinialin") + (version "0.1.5") + (source + (origin + (method url-fetch) + (uri (pypi-uri "puccinialin" version)) + (sha256 + (base32 "00nnqcvvyn10zxkhgzcfn8czwvdzm0vh5z16plb0dxspccd69dmv")))) + (build-system pyproject-build-system) + (arguments + (list #:tests? #f)) ;no tests in PyPI or Git + (native-inputs + (list python-hatchling)) + (propagated-inputs + (list python-httpx + python-platformdirs + python-tqdm)) + (home-page "https://github.com/konstin/puccinialin") + (synopsis "Helper for bootstrapping Rust-based build back-ends for Python") + (description + "This tool helps to install Rust into a temporary directory, allowing +support of Rust-based Python builds. Cargo and rustc are installed into a +cache directory, to avoid modifying the host's environment, and further +activated using a set of environment variables.") + (license (list license:expat license:asl2.0)))) + (define-public python-pyxdameraulevenshtein (package (name "python-pyxdameraulevenshtein")