at master 767 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 cython, 5 fetchPypi, 6 numpy, 7 pytest-cov-stub, 8 pytestCheckHook, 9 pythonOlder, 10}: 11 12buildPythonPackage rec { 13 pname = "cftime"; 14 version = "1.6.4.post1"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-UKx2zJ8Qq3vUbkSnHFGmknBRtJm0QH308pqxPXQblC8="; 22 }; 23 24 nativeBuildInputs = [ 25 cython 26 numpy 27 ]; 28 29 propagatedBuildInputs = [ numpy ]; 30 31 nativeCheckInputs = [ 32 pytest-cov-stub 33 pytestCheckHook 34 ]; 35 36 pythonImportsCheck = [ "cftime" ]; 37 38 meta = with lib; { 39 description = "Time-handling functionality from netcdf4-python"; 40 homepage = "https://github.com/Unidata/cftime"; 41 license = licenses.mit; 42 maintainers = [ ]; 43 }; 44}