43 lines
666 B
Nix
Raw Normal View History

{ 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
, pytestcov
, cython
, numpy
2020-11-19 21:40:32 +01:00
, python
2018-06-22 12:22:42 +02:00
}:
buildPythonPackage rec {
pname = "cftime";
2020-08-16 19:30:55 +02:00
version = "1.2.1";
2018-06-22 12:22:42 +02:00
src = fetchPypi {
inherit pname version;
2020-08-16 19:30:55 +02:00
sha256 = "ab5d5076f7d3e699758a244ada7c66da96bae36e22b9e351ce0ececc36f0a57f";
2018-06-22 12:22:42 +02:00
};
2020-11-19 21:40:32 +01:00
checkInputs = [
pytestCheckHook
coveralls
pytestcov
];
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 12:07:09 +10:00
}