Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 625 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, numpy 5, scipy 6, numba 7, pytest 8}: 9 10buildPythonPackage rec { 11 pname = "sparse"; 12 version = "0.6.0"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "2ac6fcbf68b38b999eae98467cf4880b942c13a72036868f78d65a10aeba808d"; 17 }; 18 19 checkInputs = [ pytest ]; 20 propagatedBuildInputs = [ 21 numpy 22 scipy 23 numba 24 ]; 25 26 checkPhase = '' 27 pytest sparse 28 ''; 29 30 meta = with lib; { 31 description = "Sparse n-dimensional arrays computations"; 32 homepage = https://github.com/pydata/sparse/; 33 license = licenses.bsd3; 34 maintainers = [ maintainers.costrouc ]; 35 }; 36}