21cecf6002
GitOrigin-RevId: dd14e5d78e90a2ccd6007e569820de9b4861a6c2
42 lines
668 B
Nix
42 lines
668 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, coveralls
|
|
, pytest-cov
|
|
, cython
|
|
, numpy
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cftime";
|
|
version = "1.5.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "b644bcb53346b6f4fe2fcc9f3b574740a2097637492dcca29632c817e0604f29";
|
|
};
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
coveralls
|
|
pytest-cov
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cython
|
|
numpy
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
numpy
|
|
];
|
|
|
|
# ERROR test/test_cftime.py - ModuleNotFoundError: No module named 'cftime._cft...
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Time-handling functionality from netcdf4-python";
|
|
};
|
|
|
|
}
|