at 23.05-pre 1.2 kB view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, fetchpatch 5, ipykernel 6, ipywidgets 7, pythonOlder 8, pytestCheckHook 9, pandas 10, jinja2 11, numpy 12, traitlets 13}: 14 15buildPythonPackage rec { 16 pname = "pydeck"; 17 version = "0.7.1"; 18 format = "pyproject"; 19 20 disabled = pythonOlder "3.7"; 21 22 patches = [ 23 # fixes build with latest setuptools 24 (fetchpatch { 25 url = "https://github.com/visgl/deck.gl/commit/9e68f73b28aa3bf0f2a887a4d8ccd2dc35677039.patch"; 26 sha256 = "sha256-YVVoVbVdY5nV+17OwYIs9AwKGyzgKZHi655f4BLcdMU="; 27 stripLen = 2; 28 }) 29 ]; 30 31 src = fetchPypi { 32 inherit pname version; 33 sha256 = "907601c99f7510e16d27d7cb62bfa145216d166a2b5c9c50cfe2b65b032ebd2e"; 34 }; 35 36 pythonImportsCheck = [ "pydeck" ]; 37 38 checkInputs = [ pytestCheckHook pandas ]; 39 40 # tries to start a jupyter server 41 disabledTests = [ "test_nbconvert" ]; 42 43 propagatedBuildInputs = [ 44 ipykernel 45 ipywidgets 46 jinja2 47 numpy 48 traitlets 49 ]; 50 51 meta = with lib; { 52 homepage = "https://github.com/visgl/deck.gl/tree/master/bindings/pydeck"; 53 description = "Large-scale interactive data visualization in Python"; 54 maintainers = with maintainers; [ creator54 ]; 55 license = licenses.asl20; 56 }; 57}