depot/third_party/nixpkgs/pkgs/development/python-modules/cftime/default.nix

43 lines
666 B
Nix
Raw Normal View History

{ 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";
};
}