1{ buildPythonPackage 2, fetchPypi 3, pytest 4, coveralls 5, pytestcov 6, cython 7, numpy 8}: 9 10buildPythonPackage rec { 11 pname = "cftime"; 12 version = "1.0.1"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "20556931f546838d09be5d589482dfae6164e0d403f0aab2163c006b680d3b92"; 17 }; 18 19 checkInputs = [ pytest coveralls pytestcov ]; 20 buildInputs = [ cython ]; 21 propagatedBuildInputs = [ numpy ]; 22 23 checkPhase = '' 24 py.test 25 ''; 26 27 meta = { 28 description = "Time-handling functionality from netcdf4-python"; 29 }; 30 31}