summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-10-19 15:52:25 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-24 11:45:33 +0100
commitdfaa1ef5c93029aacb169efa091fe9d92b823f8e (patch)
treeb6fc173ebb7b15310ea5983567abf980876afe95 /gnu/packages
parentfea6b07191e612c5bf73904078d72036e9c2ac62 (diff)
gnu: Add python-cucumber-expressions.
* gnu/packages/python-check.scm (python-cucumber-expressions): New variable. Change-Id: If465fb627992c1acd2b563c726537d462f1360d0 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-check.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index f3b9dc2570d..1dd28d5de41 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -604,6 +604,38 @@ Satisfiability modulo theories} solver explore viable execution paths and find
counterexamples for you.")
(license (list license:asl2.0 license:expat license:psfl))))
+(define-public python-cucumber-expressions
+ (package
+ (name "python-cucumber-expressions")
+ (version "18.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cucumber/cucumber-expressions")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1syxa142v9sajy7n2az7d0jc6lsjg93kw659pxfs3g6ddrngpdri"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Project's repository contains go, java, javascript, perl, python
+ ;; and ruby implementations.
+ (add-after 'unpack 'chdir-python
+ (lambda _
+ (chdir "python"))))))
+ (native-inputs
+ (list python-poetry-core python-pytest python-pyyaml))
+ (home-page "https://github.com/cucumber/cucumber-expressions")
+ (synopsis "A simpler alternative to Regular Expressions")
+ (description
+ "This package provides an alternative to Regular Expressions with a more
+intuitive syntax.")
+ (license license:expat)))
+
(define-public python-cucumber-tag-expressions
(package
(name "python-cucumber-tag-expressions")