summaryrefslogtreecommitdiff
path: root/gnu/packages/python-science.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@friendly-machines.com>2026-02-21 17:07:01 +0000
committerDanny Milosavljevic <dannym@friendly-machines.com>2026-02-21 21:52:40 +0100
commita8927662b3ca3cd3966d2b0a291b8a46c2056d14 (patch)
tree5a6d8b78aef5e602addf7188ee8f011d1623bc1a /gnu/packages/python-science.scm
parent405d8647fff28167418d8d874e2dcca77f8e35bb (diff)
gnu: Add python-pytest-pyvista.
* gnu/packages/python-science.scm (python-pytest-pyvista): New variable. Change-Id: I03233bf19ba66bf4f33cf92e60de24da8c661562
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r--gnu/packages/python-science.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 4e1f01fc815..d15a67f6cd1 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -5504,6 +5504,30 @@ structured and declarative manner. It is inspired by the R package ggplot2
and aims to provide a similar API and functionality in Python.")
(license license:expat)))
+(define-public python-pytest-pyvista
+ (package
+ (name "python-pytest-pyvista")
+ (version "0.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest_pyvista" version))
+ (sha256
+ (base32 "0hgk3a5wwymk3k7ih4lsmkd44dfnsd842zv5859izqxkw74j2xpn"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; No tests included in the PyPI tarball.
+ #:tests? #f))
+ (propagated-inputs (list python-numpy python-pillow python-pytest-8))
+ (native-inputs (list python-flit-core))
+ (home-page "https://github.com/pyvista/pytest-pyvista")
+ (synopsis "Pytest plugin for comparing PyVista plot images")
+ (description "This package provides a Pytest plugin that facilitates
+the comparison of images produced by PyVista, generating cached images from
+tests and comparing subsequent results against that cache.")
+ (license license:expat)))
+
(define-public python-pyvista
(package
(name "python-pyvista")