pythonPackages.cftime: fix cross

This commit is contained in:
Frederik Rietdijk 2020-11-19 21:40:32 +01:00
parent 346b2212c7
commit d9184fb8b2

View File

@ -1,10 +1,11 @@
{ buildPythonPackage { buildPythonPackage
, fetchPypi , fetchPypi
, pytest , pytestCheckHook
, coveralls , coveralls
, pytestcov , pytestcov
, cython , cython
, numpy , numpy
, python
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -16,13 +17,23 @@ buildPythonPackage rec {
sha256 = "ab5d5076f7d3e699758a244ada7c66da96bae36e22b9e351ce0ececc36f0a57f"; sha256 = "ab5d5076f7d3e699758a244ada7c66da96bae36e22b9e351ce0ececc36f0a57f";
}; };
checkInputs = [ pytest coveralls pytestcov ]; checkInputs = [
buildInputs = [ cython ]; pytestCheckHook
propagatedBuildInputs = [ numpy ]; coveralls
pytestcov
];
checkPhase = '' nativeBuildInputs = [
py.test cython
''; numpy
];
propagatedBuildInputs = [
numpy
];
# ERROR test/test_cftime.py - ModuleNotFoundError: No module named 'cftime._cft...
doCheck = false;
meta = { meta = {
description = "Time-handling functionality from netcdf4-python"; description = "Time-handling functionality from netcdf4-python";