2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, dask
|
|
|
|
, bokeh
|
|
|
|
, toolz
|
|
|
|
, datashape
|
|
|
|
, numba
|
|
|
|
, numpy
|
|
|
|
, pandas
|
|
|
|
, pillow
|
|
|
|
, xarray
|
|
|
|
, colorcet
|
|
|
|
, param
|
|
|
|
, pyct
|
|
|
|
, scipy
|
2021-03-09 03:18:52 +00:00
|
|
|
, pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
, nbsmoke
|
|
|
|
, fastparquet
|
|
|
|
, nbconvert
|
2021-03-09 03:18:52 +00:00
|
|
|
, pytest-xdist
|
|
|
|
, netcdf4
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "datashader";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "0.13.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "sha256-6JscHm1QjDmXOLLa83qhAvY/xwvlPM6duQ1lSxnCVV8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
dask
|
|
|
|
bokeh
|
|
|
|
toolz
|
|
|
|
datashape
|
|
|
|
numba
|
|
|
|
numpy
|
|
|
|
pandas
|
|
|
|
pillow
|
|
|
|
xarray
|
|
|
|
colorcet
|
|
|
|
param
|
|
|
|
pyct
|
|
|
|
scipy
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
2021-03-09 03:18:52 +00:00
|
|
|
pytestCheckHook
|
|
|
|
pytest-xdist # not needed
|
2020-04-24 23:36:52 +00:00
|
|
|
nbsmoke
|
|
|
|
fastparquet
|
|
|
|
nbconvert
|
2021-03-09 03:18:52 +00:00
|
|
|
netcdf4
|
|
|
|
];
|
|
|
|
|
|
|
|
pytestFlagsArray = [
|
|
|
|
"-n $NIX_BUILD_CORES"
|
|
|
|
"datashader"
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
disabledTestPaths = [
|
|
|
|
# 31/50 tests fail with TypeErrors
|
|
|
|
"datashader/tests/test_datatypes.py"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-03-09 03:18:52 +00:00
|
|
|
meta = with lib;{
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Data visualization toolchain based on aggregating into a grid";
|
|
|
|
homepage = "https://datashader.org";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.costrouc ];
|
|
|
|
};
|
|
|
|
}
|