1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchFromGitHub, 6 hatchling, 7 hatch-vcs, 8 colorcet, 9 multipledispatch, 10 numba, 11 numpy, 12 pandas, 13 param, 14 pyct, 15 requests, 16 scipy, 17 toolz, 18 packaging, 19 xarray, 20 pytestCheckHook, 21 pytest-xdist, 22 writableTmpDirAsHomeHook, 23}: 24 25buildPythonPackage rec { 26 pname = "datashader"; 27 version = "0.18.0"; 28 pyproject = true; 29 30 disabled = pythonOlder "3.9"; 31 32 src = fetchFromGitHub { 33 owner = "holoviz"; 34 repo = "datashader"; 35 tag = "v${version}"; 36 hash = "sha256-HduEO2XDH20tovtlpg5DbF96G5Lpbo+XVmQKnWvfyL8="; 37 }; 38 39 build-system = [ 40 hatchling 41 hatch-vcs 42 ]; 43 44 dependencies = [ 45 colorcet 46 multipledispatch 47 numba 48 numpy 49 pandas 50 param 51 pyct 52 requests 53 scipy 54 toolz 55 packaging 56 xarray 57 ]; 58 59 nativeCheckInputs = [ 60 pytestCheckHook 61 pytest-xdist 62 writableTmpDirAsHomeHook 63 ]; 64 65 pythonImportsCheck = [ "datashader" ]; 66 67 meta = { 68 description = "Data visualization toolchain based on aggregating into a grid"; 69 mainProgram = "datashader"; 70 homepage = "https://datashader.org"; 71 license = lib.licenses.bsd3; 72 maintainers = with lib.maintainers; [ nickcao ]; 73 }; 74}