Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 31 lines 516 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.3.4"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "0362dhxbzk593walyjz30dll6y2y79wialik647cbwdsf3ad0x6x"; 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}