blob: f232f5748e08633bd9efe65ad3b84412e373ebf1 (
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
|
{
lib,
buildPythonPackage,
cython,
fetchPypi,
numpy,
setuptools,
pytest-cov-stub,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "cftime";
version = "1.6.5";
pyproject = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-giX+1rm0P7h2g+urUhMEUPwXMAERUNMJIJapDlTR6B4=";
};
build-system = [
setuptools
cython
];
dependencies = [ numpy ];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
pythonImportsCheck = [ "cftime" ];
meta = {
description = "Time-handling functionality from netcdf4-python";
changelog = "https://github.com/Unidata/cftime/blob/v${finalAttrs.version}rel/Changelog";
homepage = "https://github.com/Unidata/cftime";
license = lib.licenses.mit;
maintainers = [ ];
};
})
|