diff options
| author | Marius Bakke <marius@gnu.org> | 2022-01-22 09:29:20 +0100 |
|---|---|---|
| committer | Marius Bakke <marius@gnu.org> | 2022-01-22 10:23:01 +0100 |
| commit | 22acec058803d98a0ed3bacc0734339cadae0d74 (patch) | |
| tree | 3d609372c0866852c4b6dbbd242316ff136aaf81 /gnu/packages/python-check.scm | |
| parent | 36481d00de7137d055368f92c409c917a6fadfe8 (diff) | |
gnu: Add python-cucumber-tag-expressions.
* gnu/packages/python-check.scm (python-cucumber-tag-expressions): New variable.
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 2ab6686bbc8..f971dae5b45 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.") | |||
| 145 | (home-page "https://testfixtures.readthedocs.io/en/latest/") | 145 | (home-page "https://testfixtures.readthedocs.io/en/latest/") |
| 146 | (license license:expat))) | 146 | (license license:expat))) |
| 147 | 147 | ||
| 148 | (define-public python-cucumber-tag-expressions | ||
| 149 | (package | ||
| 150 | (name "python-cucumber-tag-expressions") | ||
| 151 | (version "4.1.0") | ||
| 152 | (source | ||
| 153 | (origin | ||
| 154 | (method url-fetch) | ||
| 155 | (uri (pypi-uri "cucumber-tag-expressions" version)) | ||
| 156 | (sha256 | ||
| 157 | (base32 "0q7rn4l4ppjd1zsglr37ccc5xccg4iigaw827282zfzfsvzda573")))) | ||
| 158 | (build-system python-build-system) | ||
| 159 | (arguments | ||
| 160 | (list #:phases | ||
| 161 | #~(modify-phases %standard-phases | ||
| 162 | (replace 'check | ||
| 163 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 164 | (when tests? | ||
| 165 | ;; Ignore the configuration file since we don't | ||
| 166 | ;; need HTML reports, etc. | ||
| 167 | (invoke "pytest" "-c" "/dev/null" "-vv"))))))) | ||
| 168 | (native-inputs | ||
| 169 | (list python-invoke python-pathpy python-pytest)) | ||
| 170 | (home-page "https://github.com/cucumber/tag-expressions-python") | ||
| 171 | (synopsis "Tag-expression parser for cucumber/behave") | ||
| 172 | (description | ||
| 173 | "This package provides a tag-expression parser for Cucumber and | ||
| 174 | @command{behave}.") | ||
| 175 | (license license:expat))) | ||
| 176 | |||
| 148 | (define-public python-coveralls | 177 | (define-public python-coveralls |
| 149 | (package | 178 | (package |
| 150 | (name "python-coveralls") | 179 | (name "python-coveralls") |
