From 85de1beb53090e453d7f35de97186d321bc9013d Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 12 Oct 2025 14:43:23 +0200 Subject: gnu: Add python-pytest-home. * gnu/packages/python-check.scm (python-pytest-home): New variable. Change-Id: I9b41fded02eea4120a0c36b2f95d4de6a8d60e22 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-check.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'gnu/packages/python-check.scm') 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") -- cgit v1.3