2018-07-21 02:44:44 +02:00
|
|
|
{ buildPythonPackage
|
2018-06-22 12:22:42 +02:00
|
|
|
, fetchPypi
|
2020-11-19 21:40:32 +01:00
|
|
|
, pytestCheckHook
|
2018-06-22 12:22:42 +02:00
|
|
|
, coveralls
|
2021-07-20 22:42:24 +02:00
|
|
|
, pytest-cov
|
2018-06-22 12:22:42 +02:00
|
|
|
, cython
|
|
|
|
, numpy
|
2020-11-19 21:40:32 +01:00
|
|
|
, python
|
2018-06-22 12:22:42 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cftime";
|
2021-06-18 23:47:11 +02:00
|
|
|
version = "1.5.0";
|
2018-06-22 12:22:42 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 23:47:11 +02:00
|
|
|
sha256 = "b644bcb53346b6f4fe2fcc9f3b574740a2097637492dcca29632c817e0604f29";
|
2018-06-22 12:22:42 +02:00
|
|
|
};
|
|
|
|
|
2020-11-19 21:40:32 +01:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
coveralls
|
2021-07-20 22:42:24 +02:00
|
|
|
pytest-cov
|
2020-11-19 21:40:32 +01:00
|
|
|
];
|
2018-06-22 12:22:42 +02:00
|
|
|
|
2020-11-19 21:40:32 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cython
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
|
|
|
# ERROR test/test_cftime.py - ModuleNotFoundError: No module named 'cftime._cft...
|
|
|
|
doCheck = false;
|
2018-06-22 12:22:42 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Time-handling functionality from netcdf4-python";
|
|
|
|
};
|
|
|
|
|
2020-08-25 04:07:09 +02:00
|
|
|
}
|