From 283088f7b158815a58ca687147860e2a6b8112ba Mon Sep 17 00:00:00 2001 From: Peter Polidoro Date: Tue, 5 Apr 2022 15:12:57 -0400 Subject: gnu: Add python-sre-yield. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/python-xyz.scm (python-sre-yield): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7193d4e6ce..9a5d311680 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -118,6 +118,7 @@ ;;; Copyright © 2022 Aleksandr Vityazev ;;; Copyright © 2022 Evgeny Pisemsky ;;; Copyright © 2022 drozdov +;;; Copyright © 2022 Peter Polidoro ;;; ;;; This file is part of GNU Guix. ;;; @@ -29511,3 +29512,25 @@ adapted from the @code{packaging} package.") "This package automatically generates shell tab completion scripts for Python CLI apps.") (license license:asl2.0))) + +(define-public python-sre-yield + (package + (name "python-sre-yield") + (version "1.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "sre_yield" version)) + (sha256 + (base32 + "12kv3mvdr22g2v9wfr5aabh1f58s817dbh8mrlfzxzxs7hm1lkz9")))) + (build-system python-build-system) + (native-inputs (list python-nose)) + (home-page "https://github.com/google/sre_yield") + (synopsis "Expands a regular expression to its possible matches") + (description + "The goal of sre_yield is to efficiently generate all values that can +match a given regular expression, or count possible matches efficiently. It +uses the parsed regular expression, so you get a much more accurate result +than trying to just split strings.") + (license license:asl2.0))) -- cgit v1.2.3