mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
59e50937a2
upstream dropped support https://github.com/pydata/sparse/pull/235
40 lines
645 B
Nix
40 lines
645 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy3k
|
|
, numpy
|
|
, scipy
|
|
, numba
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "sparse";
|
|
version = "0.7.0";
|
|
|
|
disabled = !isPy3k;
|
|
|
|
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 ];
|
|
};
|
|
}
|