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