diff options
author | Chris Ostrouchov <chris.ostrouchov@gmail.com> | 2019-07-14 17:30:37 -0400 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2019-07-17 10:02:03 +0200 |
commit | 30169d9493a25c27fe507b7f2862b1582670905f (patch) | |
tree | 26f5f40ba256789cda6c31752ad3f80c9ddf1b34 /pkgs/development/python-modules/datashader | |
parent | cebcbc24c7e0a44cea55369197d103ac04fa9335 (diff) | |
download | nixpkgs-30169d9493a25c27fe507b7f2862b1582670905f.tar nixpkgs-30169d9493a25c27fe507b7f2862b1582670905f.tar.gz nixpkgs-30169d9493a25c27fe507b7f2862b1582670905f.tar.bz2 nixpkgs-30169d9493a25c27fe507b7f2862b1582670905f.tar.lz nixpkgs-30169d9493a25c27fe507b7f2862b1582670905f.tar.xz nixpkgs-30169d9493a25c27fe507b7f2862b1582670905f.tar.zst nixpkgs-30169d9493a25c27fe507b7f2862b1582670905f.zip |
pythonPackages.datashader: init at 0.7.0
Diffstat (limited to 'pkgs/development/python-modules/datashader')
-rw-r--r-- | pkgs/development/python-modules/datashader/default.nix | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/datashader/default.nix b/pkgs/development/python-modules/datashader/default.nix new file mode 100644 index 00000000000..8ce3012513c --- /dev/null +++ b/pkgs/development/python-modules/datashader/default.nix @@ -0,0 +1,85 @@ +{ lib +, buildPythonPackage +, fetchPypi +, dask +, distributed +, bokeh +, toolz +, datashape +, numba +, numpy +, pandas +, pillow +, xarray +, colorcet +, param +, pyct +, pyyaml +, requests +, scikitimage +, scipy +, pytest +, pytest-benchmark +, flake8 +, nbsmoke +, fastparquet +, testpath +, nbconvert +}: + +buildPythonPackage rec { + pname = "datashader"; + version = "0.7.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "5baf218713dc1ad4791f7bcf606ef8f618273945e788c59f9573aebd7cb851f8"; + }; + + propagatedBuildInputs = [ + dask + distributed + bokeh + toolz + datashape + numba + numpy + pandas + pillow + xarray + colorcet + param + pyct + pyyaml + requests + scikitimage + scipy + testpath + ]; + + checkInputs = [ + pytest + pytest-benchmark + flake8 + nbsmoke + fastparquet + pandas + nbconvert + ]; + + postConfigure = '' + substituteInPlace setup.py \ + --replace "'testpath<0.4'" "'testpath'" + ''; + + checkPhase = '' + pytest datashader + ''; + + meta = with lib; { + description = "Data visualization toolchain based on aggregating into a grid"; + homepage = https://datashader.org; + license = licenses.bsd3; + maintainers = [ maintainers.costrouc ]; + }; +} |