1{ lib 2, buildPythonPackage 3, fetchPypi 4, dask 5, bokeh 6, toolz 7, datashape 8, numba 9, numpy 10, pandas 11, pillow 12, xarray 13, colorcet 14, param 15, pyct 16, scipy 17, pytestCheckHook 18, nbsmoke 19, fastparquet 20, nbconvert 21, pytest-xdist 22, netcdf4 23}: 24 25buildPythonPackage rec { 26 pname = "datashader"; 27 version = "0.13.0"; 28 29 src = fetchPypi { 30 inherit pname version; 31 sha256 = "sha256-6JscHm1QjDmXOLLa83qhAvY/xwvlPM6duQ1lSxnCVV8="; 32 }; 33 34 propagatedBuildInputs = [ 35 dask 36 bokeh 37 toolz 38 datashape 39 numba 40 numpy 41 pandas 42 pillow 43 xarray 44 colorcet 45 param 46 pyct 47 scipy 48 ]; 49 50 checkInputs = [ 51 pytestCheckHook 52 pytest-xdist # not needed 53 nbsmoke 54 fastparquet 55 nbconvert 56 netcdf4 57 ]; 58 59 pytestFlagsArray = [ 60 "-n $NIX_BUILD_CORES" 61 "datashader" 62 ]; 63 64 disabledTestPaths = [ 65 # 31/50 tests fail with TypeErrors 66 "datashader/tests/test_datatypes.py" 67 ]; 68 69 meta = with lib;{ 70 description = "Data visualization toolchain based on aggregating into a grid"; 71 homepage = "https://datashader.org"; 72 license = licenses.bsd3; 73 maintainers = [ maintainers.costrouc ]; 74 }; 75}