841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
42 lines
666 B
Nix
42 lines
666 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, coveralls
|
|
, pytestcov
|
|
, cython
|
|
, numpy
|
|
, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cftime";
|
|
version = "1.5.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "b644bcb53346b6f4fe2fcc9f3b574740a2097637492dcca29632c817e0604f29";
|
|
};
|
|
|
|
checkInputs = [
|
|
pytestCheckHook
|
|
coveralls
|
|
pytestcov
|
|
];
|
|
|
|
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";
|
|
};
|
|
|
|
}
|