blob: c55b3e974e2b50463a2aab0a6285ac00e5ef5f8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
hatchling,
pytestCheckHook,
numpy,
typing-extensions,
xarray,
}:
buildPythonPackage rec {
pname = "xarray-dataclass";
version = "3.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "xarray-contrib";
repo = "xarray-dataclass";
tag = "v${version}";
hash = "sha256-NHJvrkoRhq5cPSBBMWzrWVn+3sPvveMRgTXc/NdLfuA=";
};
build-system = [
hatchling
];
pythonRelaxDeps = [ "xarray" ];
dependencies = [
numpy
typing-extensions
xarray
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "xarray_dataclass" ];
meta = {
description = "Xarray data creation made easy by dataclass";
homepage = "https://xarray-contrib.github.io/xarray-dataclass";
changelog = "https://github.com/xarray-contrib/xarray-dataclass/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bcdarwin ];
};
}
|