Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 31 lines 528 B view raw
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.4.2"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "1ac64f8f9066ea756ea27d67cedaf064e7c866275218fa7c84684066a5890f70"; 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}