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

43 lines
666 B
Nix
Raw Normal View History

{ buildPythonPackage
2018-06-22 11:22:42 +01:00
, fetchPypi
2020-11-19 20:40:32 +00:00
, pytestCheckHook
2018-06-22 11:22:42 +01:00
, coveralls
, pytestcov
, cython
, numpy
2020-11-19 20:40:32 +00:00
, python
2018-06-22 11:22:42 +01:00
}:
buildPythonPackage rec {
pname = "cftime";
version = "1.3.0";
2018-06-22 11:22:42 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "8d6a1144f43b9d7a180d7ceb3aa8015b7133c615fbac231bed184a91129f0207";
2018-06-22 11:22:42 +01:00
};
2020-11-19 20:40:32 +00:00
checkInputs = [
pytestCheckHook
coveralls
pytestcov
];
2018-06-22 11:22:42 +01: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 11:22:42 +01:00
meta = {
description = "Time-handling functionality from netcdf4-python";
};
2020-08-25 03:07:09 +01:00
}