Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 85 lines 1.2 kB view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, dask 5, distributed 6, bokeh 7, toolz 8, datashape 9, numba 10, numpy 11, pandas 12, pillow 13, xarray 14, colorcet 15, param 16, pyct 17, pyyaml 18, requests 19, scikitimage 20, scipy 21, pytest 22, pytest-benchmark 23, flake8 24, nbsmoke 25, fastparquet 26, testpath 27, nbconvert 28}: 29 30buildPythonPackage rec { 31 pname = "datashader"; 32 version = "0.7.0"; 33 34 src = fetchPypi { 35 inherit pname version; 36 sha256 = "5baf218713dc1ad4791f7bcf606ef8f618273945e788c59f9573aebd7cb851f8"; 37 }; 38 39 propagatedBuildInputs = [ 40 dask 41 distributed 42 bokeh 43 toolz 44 datashape 45 numba 46 numpy 47 pandas 48 pillow 49 xarray 50 colorcet 51 param 52 pyct 53 pyyaml 54 requests 55 scikitimage 56 scipy 57 testpath 58 ]; 59 60 checkInputs = [ 61 pytest 62 pytest-benchmark 63 flake8 64 nbsmoke 65 fastparquet 66 pandas 67 nbconvert 68 ]; 69 70 postConfigure = '' 71 substituteInPlace setup.py \ 72 --replace "'testpath<0.4'" "'testpath'" 73 ''; 74 75 checkPhase = '' 76 pytest datashader 77 ''; 78 79 meta = with lib; { 80 description = "Data visualization toolchain based on aggregating into a grid"; 81 homepage = https://datashader.org; 82 license = licenses.bsd3; 83 maintainers = [ maintainers.costrouc ]; 84 }; 85}