python3Packages.sparse: 0.11.2 -> 0.12.0

This commit is contained in:
Drew Risinger 2021-04-15 18:02:41 -04:00
parent 6d22c59434
commit 1fb145c0b2

View File

@ -2,38 +2,39 @@
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, isPy3k , isPy3k
, dask , numba
, numpy , numpy
, scipy , scipy
, numba # Test Inputs
, pytest , pytestCheckHook
, dask
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "sparse"; pname = "sparse";
version = "0.11.2"; version = "0.12.0";
disabled = !isPy3k; disabled = !isPy3k;
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "bc5c35dbc81242237feb7a8e1f7d9c5e9dd9bb0910f6ec55f50dcc379082864f"; sha256 = "2c95c3b8ee00211a5aa4ef5e46006d25bf35009a66e406b7ea9b25b327fb9516";
}; };
checkInputs = [ pytest dask ];
propagatedBuildInputs = [ propagatedBuildInputs = [
numba
numpy numpy
scipy scipy
numba
]; ];
checkInputs = [ pytestCheckHook dask ];
checkPhase = '' pythonImportsCheck = [ "sparse" ];
pytest sparse
'';
meta = with lib; { meta = with lib; {
description = "Sparse n-dimensional arrays computations"; description = "Sparse n-dimensional arrays computations";
homepage = "https://github.com/pydata/sparse/"; homepage = "https://sparse.pydata.org/en/stable/";
changelog = "https://sparse.pydata.org/en/stable/changelog.html";
downloadPage = "https://github.com/pydata/sparse/releases/tag/${version}";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = [ maintainers.costrouc ]; maintainers = [ maintainers.costrouc ];
}; };