diff options
author | Christopher Ostrouchov <chris.ostrouchov@gmail.com> | 2019-02-23 08:39:39 -0500 |
---|---|---|
committer | Robert Schütz <rschuetz17@gmail.com> | 2019-02-23 14:39:39 +0100 |
commit | 9b94554008b25d1568b461c717adf44b9fed1d01 (patch) | |
tree | bde8c746862825d3cea1b6b60b063b2d865cd324 /pkgs/development/python-modules | |
parent | 63b7732ed6f8402c6f33afb4bdaae625d7a3ac31 (diff) | |
download | nixlib-9b94554008b25d1568b461c717adf44b9fed1d01.tar nixlib-9b94554008b25d1568b461c717adf44b9fed1d01.tar.gz nixlib-9b94554008b25d1568b461c717adf44b9fed1d01.tar.bz2 nixlib-9b94554008b25d1568b461c717adf44b9fed1d01.tar.lz nixlib-9b94554008b25d1568b461c717adf44b9fed1d01.tar.xz nixlib-9b94554008b25d1568b461c717adf44b9fed1d01.tar.zst nixlib-9b94554008b25d1568b461c717adf44b9fed1d01.zip |
pythonPackages.sparse: init at 0.6.0 (#56057)
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/sparse/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/sparse/default.nix b/pkgs/development/python-modules/sparse/default.nix new file mode 100644 index 000000000000..d3d78620a3de --- /dev/null +++ b/pkgs/development/python-modules/sparse/default.nix @@ -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 ]; + }; +} |