mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
pythonPackages.cftime: fix cross
This commit is contained in:
parent
346b2212c7
commit
d9184fb8b2
@ -1,10 +1,11 @@
|
||||
{ buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, coveralls
|
||||
, pytestcov
|
||||
, cython
|
||||
, numpy
|
||||
, python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -16,13 +17,23 @@ buildPythonPackage rec {
|
||||
sha256 = "ab5d5076f7d3e699758a244ada7c66da96bae36e22b9e351ce0ececc36f0a57f";
|
||||
};
|
||||
|
||||
checkInputs = [ pytest coveralls pytestcov ];
|
||||
buildInputs = [ cython ];
|
||||
propagatedBuildInputs = [ numpy ];
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
coveralls
|
||||
pytestcov
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user