diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-10-12 14:43:23 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-14 09:13:42 +0100 |
| commit | 85de1beb53090e453d7f35de97186d321bc9013d (patch) | |
| tree | 722a67f3ef32640378627a66e53cfe46ccf53bf4 /gnu/packages/python-check.scm | |
| parent | 3691937efadd966c63d37121a9a655f892590338 (diff) | |
gnu: Add python-pytest-home.
* gnu/packages/python-check.scm (python-pytest-home): New variable.
Change-Id: I9b41fded02eea4120a0c36b2f95d4de6a8d60e22
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-check.scm')
| -rw-r--r-- | gnu/packages/python-check.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm index 1071335743f..fbd3712a798 100644 --- a/gnu/packages/python-check.scm +++ b/gnu/packages/python-check.scm @@ -2596,6 +2596,39 @@ which can be used to register helper functions without requiring someone to import them in their actual tests to use them.") (license license:asl2.0))) +(define-public python-pytest-home + (package + (name "python-pytest-home") + (version "0.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jaraco/pytest-home") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "151xx48dahbh7yx2a9cr9f2iy2i6f7s3zsm4zn5apvgl9qmjhkk7")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'set-version + (lambda _ + (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))))) + (propagated-inputs (list python-pytest)) + (native-inputs + (list git-minimal + python-pytest + python-setuptools + python-setuptools-scm)) + (home-page "https://github.com/jaraco/pytest-home") + (synopsis "Home directory fixtures") + (description + "This package provides home directory fixtures for pytest.") + (license license:expat))) + (define-public python-pytest-html (package (name "python-pytest-html") |
