From 22acec058803d98a0ed3bacc0734339cadae0d74 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sat, 22 Jan 2022 09:29:20 +0100 Subject: gnu: Add python-cucumber-tag-expressions. * gnu/packages/python-check.scm (python-cucumber-tag-expressions): New variable. --- gnu/packages/python-check.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 2ab6686bbc..f971dae5b4 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -145,6 +145,35 @@ are useful when writing automated tests in Python.") (home-page "https://testfixtures.readthedocs.io/en/latest/") (license license:expat))) +(define-public python-cucumber-tag-expressions + (package + (name "python-cucumber-tag-expressions") + (version "4.1.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "cucumber-tag-expressions" version)) + (sha256 + (base32 "0q7rn4l4ppjd1zsglr37ccc5xccg4iigaw827282zfzfsvzda573")))) + (build-system python-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; Ignore the configuration file since we don't + ;; need HTML reports, etc. + (invoke "pytest" "-c" "/dev/null" "-vv"))))))) + (native-inputs + (list python-invoke python-pathpy python-pytest)) + (home-page "https://github.com/cucumber/tag-expressions-python") + (synopsis "Tag-expression parser for cucumber/behave") + (description + "This package provides a tag-expression parser for Cucumber and +@command{behave}.") + (license license:expat))) + (define-public python-coveralls (package (name "python-coveralls") -- cgit v1.2.3