From ea8303a1e1ac8409ce03467f8563752c95ed83c8 Mon Sep 17 00:00:00 2001 From: Hanketsu Date: Tue, 4 Mar 2025 14:01:09 +0100 Subject: battering: Add python-tokenize-rt. * battering/packages/python-xyz.scm (python-tokenize-rt): New variable. --- battering/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'battering') diff --git a/battering/packages/python-xyz.scm b/battering/packages/python-xyz.scm index ae39c97..6cb8b44 100644 --- a/battering/packages/python-xyz.scm +++ b/battering/packages/python-xyz.scm @@ -756,3 +756,28 @@ and save it in machine-readable format.") (description "Small add-on for the Python @code{requests} HTTP library. Makes use of python 3.2's @code{concurrent.futures}.") (license license:asl2.0))) + +(define-public python-tokenize-rt + (package + (name "python-tokenize-rt") + (version "6.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/asottile/tokenize-rt") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0a2pbplwz3b3nf3qmqrqlmpgs2kfz6zjqn6vyy8llappiv6iqagg")))) + (build-system pyproject-build-system) + (native-inputs (list python-setuptools + python-wheel + python-pytest + python-coverage + python-covdefaults)) + (home-page "https://github.com/asottile/tokenize-rt") + (synopsis "A wrapper around the stdlib `tokenize` which roundtrips.") + (description + "This package provides a wrapper around the stdlib `tokenize` which roundtrips.") + (license license:expat))) -- cgit v1.2.3