aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-04-26 11:05:50 +0200
committerRicardo Wurmus <rekado@elephly.net>2024-05-05 22:38:15 +0200
commitc9d9b9572b742d53be77ed0c5a005692232a82f6 (patch)
treef7dbb5019621ff019f31437bd66f060232133a4d /gnu
parent061885faecec511ed3f15b67ccce90e073875838 (diff)
downloadguix-c9d9b9572b742d53be77ed0c5a005692232a82f6.tar.gz
guix-c9d9b9572b742d53be77ed0c5a005692232a82f6.zip
gnu: Add python-xarray-schema.
* gnu/packages/python-science.scm (python-xarray-schema): New variable. Change-Id: I4ca650f2c2872698fc22392add169f44b9e2e035
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-science.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 6966c53f7a..e3f182de47 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1406,6 +1406,25 @@ being merged upstream into @code{xarray}.")
functions and around einops with an API and features adapted to xarray.")
(license license:asl2.0)))
+(define-public python-xarray-schema
+ (package
+ (name "python-xarray-schema")
+ (version "0.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "xarray-schema" version))
+ (sha256
+ (base32 "08194629696z98dkc74i6c9zmy1jicvd2ajb75q0lsf0i427cv4w"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-numpy python-xarray))
+ (native-inputs (list python-pytest python-setuptools-scm))
+ (home-page "https://github.com/carbonplan/xarray-schema")
+ (synopsis "Schema validation for Xarray objects")
+ (description "This package implements schema validation for Xarray
+objects.")
+ (license license:expat)))
+
(define-public python-pytensor
(package
(name "python-pytensor")