pythonPackages.datashader: init at 0.7.0

This commit is contained in:
Chris Ostrouchov 2019-07-14 17:30:37 -04:00 committed by Frederik Rietdijk
parent cebcbc24c7
commit 30169d9493
2 changed files with 87 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -484,6 +484,8 @@ in {
datasette = callPackage ../development/python-modules/datasette { };
datashader = callPackage ../development/python-modules/datashader { };
dbf = callPackage ../development/python-modules/dbf { };
dbfread = callPackage ../development/python-modules/dbfread { };