aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanketsu <hanketsu@egregore.fun>2025-03-04 14:01:09 +0100
committerHanketsu <hanketsu@egregore.fun>2025-06-13 00:04:47 +0200
commitea8303a1e1ac8409ce03467f8563752c95ed83c8 (patch)
treea9e41d89fa0a9774c8e6a9bb08404520d9db7c98
parent615caf0c9b3e8ebac5c4940cd6e113c768b4d7f6 (diff)
battering: Add python-tokenize-rt.
* battering/packages/python-xyz.scm (python-tokenize-rt): New variable.
-rw-r--r--battering/packages/python-xyz.scm25
1 files changed, 25 insertions, 0 deletions
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)))