pythonPackages.sparse: init at 0.6.0 (#56057)

This commit is contained in:
Christopher Ostrouchov 2019-02-23 08:39:39 -05:00 committed by Robert Schütz
parent 63b7732ed6
commit 9b94554008
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, scipy
, numba
, pytest
}:
buildPythonPackage rec {
pname = "sparse";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "2ac6fcbf68b38b999eae98467cf4880b942c13a72036868f78d65a10aeba808d";
};
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 ];
};
}

View File

@ -812,6 +812,8 @@ in {
snapcast = callPackage ../development/python-modules/snapcast { };
sparse = callPackage ../development/python-modules/sparse { };
spglib = callPackage ../development/python-modules/spglib { };
sslib = callPackage ../development/python-modules/sslib { };