python3Packages.pydantic-zarr: init at 0.9.1

This commit is contained in:
Gaetan Lepage
2026-02-09 20:58:53 +00:00
parent 1d6dcd1824
commit 8773b4db6a
2 changed files with 66 additions and 0 deletions
@@ -0,0 +1,64 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
hatch-vcs,
hatchling,
# dependencies
numpy,
packaging,
pydantic,
# tests
dask,
pytest-examples,
pytestCheckHook,
xarray,
}:
buildPythonPackage (finalAttrs: {
pname = "pydantic-zarr";
version = "0.9.1";
pyproject = true;
src = fetchFromGitHub {
owner = "zarr-developers";
repo = "pydantic-zarr";
tag = "v${finalAttrs.version}";
hash = "sha256-rgtRN3EXSORa2g2a4aCZacCDLeWM6BosZe5XR0Pg6pU=";
};
build-system = [
hatch-vcs
hatchling
];
dependencies = [
numpy
packaging
pydantic
];
pythonImportsCheck = [ "pydantic_zarr" ];
nativeCheckInputs = [
dask
pytest-examples
pytestCheckHook
xarray
];
meta = {
description = "Pydantic models for Zarr";
homepage = "https://github.com/zarr-developers/pydantic-zarr";
changelog = "https://github.com/zarr-developers/pydantic-zarr/releases/tag/${finalAttrs.src.tag}";
license = with lib.licenses; [
bsd3
mit
];
maintainers = with lib.maintainers; [ GaetanLepage ];
};
})
+2
View File
@@ -13312,6 +13312,8 @@ self: super: with self; {
pydantic-settings = callPackage ../development/python-modules/pydantic-settings { };
pydantic-zarr = callPackage ../development/python-modules/pydantic-zarr { };
pydantic_1 = callPackage ../development/python-modules/pydantic/1.nix { };
pydash = callPackage ../development/python-modules/pydash { };