pythonPackages.sparse: init at 0.6.0 (#56057)
This commit is contained in:
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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
x
Reference in New Issue
Block a user