pythonPackages.sparse: init at 0.6.0 (#56057)
This commit is contained in:
committed by
Robert Schütz
parent
63b7732ed6
commit
9b94554008
36
pkgs/development/python-modules/sparse/default.nix
Normal file
36
pkgs/development/python-modules/sparse/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user