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