depot/third_party/nixpkgs/pkgs/development/python-modules/cftime/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

42 lines
666 B
Nix

{ buildPythonPackage
, fetchPypi
, pytestCheckHook
, coveralls
, pytestcov
, cython
, numpy
, python
}:
buildPythonPackage rec {
pname = "cftime";
version = "1.4.1";
src = fetchPypi {
inherit pname version;
sha256 = "7c55540bc164746c3c4f86a07c9c7b9ed4dfb0b0d988348ec63cec065c58766d";
};
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";
};
}