summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2026-02-14 23:31:46 +0900
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2026-03-26 06:35:27 +0100
commit3d7123b1720d6ebb6a41fd7034e89b857cf9ccf1 (patch)
treeae10c21b4e23fca401646fd871b9904e4d6900f1 /gnu/packages/python-xyz.scm
parentc3571abd8a8bc905c651997e6ba90e3c706aef6d (diff)
gnu: Add python-exrex.
* gnu/packages/python-xyz.scm (python-exrex): New variable. Change-Id: I0faee47a8304007f77fa469e631729d7a05fd38f Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c633f5e196e..06ad74a69c0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1171,6 +1171,30 @@ dicts.")
Rust's @url{https://docs.rs/exitcode, exitcode}.")
(license license:expat)))
+(define-public python-exrex
+ (package
+ (name "python-exrex")
+ (version "0.12.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/asciimoo/exrex")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0lvhkxfrpgi7g6lzp97m1hqzkn5aa9yr544jff2ya2w49c5flg81"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:test-backend #~'custom
+ #:test-flags #~'("tests.py")))
+ (native-inputs (list python-setuptools))
+ (home-page "https://github.com/asciimoo/exrex")
+ (synopsis "Irregular methods for regular expressions")
+ (description
+ "Exrex is a command line tool and Python module that generates all,
+or random, matching strings to a given regular expression.")
+ (license license:agpl3+)))
+
(define-public python-ezdxf
(package
(name "python-ezdxf")