M gnu/packages/python-check.scm => gnu/packages/python-check.scm +33 -0
@@ 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")