2019-07-14 22:30:37 +01:00
|
|
|
{ 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";
|
2019-12-19 19:31:08 +00:00
|
|
|
version = "0.9.0";
|
2019-07-14 22:30:37 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:08 +00:00
|
|
|
sha256 = "3a423d61014ae8d2668848edab6c12a6244be6f249570bd7811dd5698d5ff633";
|
2019-07-14 22:30:37 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://datashader.org";
|
2019-07-14 22:30:37 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|