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