forked from mirrors/nixpkgs
54b7817f0b
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-sparse/versions
(cherry picked from commit ff12415b36
)
37 lines
613 B
Nix
37 lines
613 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, numpy
|
|
, scipy
|
|
, numba
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sparse";
|
|
version = "0.7.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0ija4pl8wg36ldsdv5jmqr5i75qi17vijcwwf2jdn1k15kqg35j4";
|
|
};
|
|
|
|
checkInputs = [ pytest ];
|
|
propagatedBuildInputs = [
|
|
numpy
|
|
scipy
|
|
numba
|
|
];
|
|
|
|
checkPhase = ''
|
|
pytest sparse
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Sparse n-dimensional arrays computations";
|
|
homepage = https://github.com/pydata/sparse/;
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.costrouc ];
|
|
};
|
|
}
|