1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-03 06:19:10 +03:00
nixpkgs/pkgs/development/python-modules/cftime/default.nix

43 lines
670 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
, pytest-cov
2018-06-22 12:22:42 +02:00
, cython
, numpy
2020-11-19 21:40:32 +01:00
, python
2018-06-22 12:22:42 +02:00
}:
buildPythonPackage rec {
pname = "cftime";
version = "1.5.1.1";
2018-06-22 12:22:42 +02:00
src = fetchPypi {
inherit pname version;
sha256 = "6dc4d76ec7fe5a2d3c00dbe6604c757f1319613b75ef157554ef3648bf102a50";
2018-06-22 12:22:42 +02:00
};
2020-11-19 21:40:32 +01:00
checkInputs = [
pytestCheckHook
coveralls
pytest-cov
2020-11-19 21:40:32 +01:00
];
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
}