1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-23 07:26:54 +00:00
nixpkgs/pkgs/development/python-modules/sparse/default.nix
R. RyanTM 54b7817f0b python37Packages.sparse: 0.6.0 -> 0.7.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-sparse/versions

(cherry picked from commit ff12415b36)
2019-04-07 13:46:30 +02:00

37 lines
613 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, numpy
, scipy
, numba
, pytest
}:
buildPythonPackage rec {
pname = "sparse";
version = "0.7.0";
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 ];
};
}