2018-07-21 00:44:44 +00:00
|
|
|
{ buildPythonPackage
|
2018-06-22 10:22:42 +00:00
|
|
|
, fetchPypi
|
2020-11-19 20:40:32 +00:00
|
|
|
, pytestCheckHook
|
2018-06-22 10:22:42 +00:00
|
|
|
, coveralls
|
|
|
|
, pytestcov
|
|
|
|
, cython
|
|
|
|
, numpy
|
2020-11-19 20:40:32 +00:00
|
|
|
, python
|
2018-06-22 10:22:42 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cftime";
|
2021-02-03 06:37:57 +00:00
|
|
|
version = "1.4.1";
|
2018-06-22 10:22:42 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-02-03 06:37:57 +00:00
|
|
|
sha256 = "7c55540bc164746c3c4f86a07c9c7b9ed4dfb0b0d988348ec63cec065c58766d";
|
2018-06-22 10:22:42 +00:00
|
|
|
};
|
|
|
|
|
2020-11-19 20:40:32 +00:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
coveralls
|
|
|
|
pytestcov
|
|
|
|
];
|
2018-06-22 10:22:42 +00:00
|
|
|
|
2020-11-19 20:40:32 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cython
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
|
|
|
# ERROR test/test_cftime.py - ModuleNotFoundError: No module named 'cftime._cft...
|
|
|
|
doCheck = false;
|
2018-06-22 10:22:42 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Time-handling functionality from netcdf4-python";
|
|
|
|
};
|
|
|
|
|
2020-08-25 02:07:09 +00:00
|
|
|
}
|