1{ lib 2, buildPythonPackage 3, fetchPypi 4, isPy3k 5, numba 6, numpy 7, scipy 8 # Test Inputs 9, pytestCheckHook 10, dask 11}: 12 13buildPythonPackage rec { 14 pname = "sparse"; 15 version = "0.13.0"; 16 17 disabled = !isPy3k; 18 19 src = fetchPypi { 20 inherit pname version; 21 sha256 = "685dc994aa770ee1b23f2d5392819c8429f27958771f8dceb2c4fb80210d5915"; 22 }; 23 24 propagatedBuildInputs = [ 25 numba 26 numpy 27 scipy 28 ]; 29 checkInputs = [ pytestCheckHook dask ]; 30 31 pythonImportsCheck = [ "sparse" ]; 32 33 meta = with lib; { 34 description = "Sparse n-dimensional arrays computations"; 35 homepage = "https://sparse.pydata.org/en/stable/"; 36 changelog = "https://sparse.pydata.org/en/stable/changelog.html"; 37 downloadPage = "https://github.com/pydata/sparse/releases/tag/${version}"; 38 license = licenses.bsd3; 39 maintainers = [ maintainers.costrouc ]; 40 }; 41}