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-10-24 07:47:28 +01:00
|
|
|
version = "0.8.0";
|
2019-07-14 22:30:37 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 07:47:28 +01:00
|
|
|
sha256 = "59ac9e3830167d07b350992402a9f547f26eca45cd69a0fb04061a4047e7ff2a";
|
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";
|
|
|
|
homepage = https://datashader.org;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|