summaryrefslogtreecommitdiff
path: root/gnu/packages/python-check.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-18 13:11:07 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-30 11:05:35 +0100
commit3b1462f59035a9ad35894ff283b41c1a6a4a72af (patch)
tree3a46bf5b14acc82563f6b4a37b2da645a377e787 /gnu/packages/python-check.scm
parentea6047816e36613b8e02910155d808670e61480b (diff)
gnu: Add python-pytest-asdf-plugin.
* gnu/packages/python-check.scm (python-pytest-asdf-plugin): New variable. Change-Id: I2de8c8ef9ddd6cc4b764079d6461996d01d1a21c
Diffstat (limited to 'gnu/packages/python-check.scm')
-rw-r--r--gnu/packages/python-check.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index e40b92f5083..34dc4c40cc0 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1834,6 +1834,31 @@ data arrays produced during tests, in particular in cases where the arrays
are too large to conveniently hard-code them in the tests.")
(license license:bsd-3)))
+(define-public python-pytest-asdf-plugin
+ (package
+ (name "python-pytest-asdf-plugin")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest_asdf_plugin" version))
+ (sha256
+ (base32 "0bcfl1s7yrnr2rlpr3hswcg9jyq6gnj0ppmpzppw9xgj796ycfb5"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f ;to avoid import astronomy module
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'sanity-check))))
+ (native-inputs
+ (list python-setuptools-next
+ python-setuptools-scm-next))
+ (home-page "https://github.com/asdf-format/pytest-asdf-plugin")
+ (synopsis "Pytest plugin for testing ASDF schemas")
+ (description
+ "This package provides a Pytest plugin for testing ASDF schemas.")
+ (license license:bsd-3)))
+
(define-public python-pytest-astropy
(package
(name "python-pytest-astropy")