at 23.11-beta 1.2 kB view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonRelaxDepsHook 5, bleach 6, bokeh 7, param 8, pyviz-comms 9, markdown 10, pyct 11, requests 12, setuptools 13, tqdm 14, typing-extensions 15}: 16 17buildPythonPackage rec { 18 pname = "panel"; 19 version = "1.2.3"; 20 21 format = "wheel"; 22 23 # We fetch a wheel because while we can fetch the node 24 # artifacts using npm, the bundling invoked in setup.py 25 # tries to fetch even more artifacts 26 src = fetchPypi { 27 inherit pname version format; 28 hash = "sha256-CAW6z0phPohpFjv4D1DlmomDiv52vb5qBatWN/Mmg/c="; 29 }; 30 31 nativeBuildInputs = [ 32 pythonRelaxDepsHook 33 ]; 34 35 pythonRelaxDeps = [ 36 "bokeh" 37 ]; 38 39 propagatedBuildInputs = [ 40 bleach 41 bokeh 42 markdown 43 param 44 pyct 45 pyviz-comms 46 requests 47 setuptools 48 tqdm 49 typing-extensions 50 ]; 51 52 pythonImportsCheck = [ 53 "panel" 54 ]; 55 56 # infinite recursion in test dependencies (hvplot) 57 doCheck = false; 58 59 meta = with lib; { 60 description = "A high level dashboarding library for python visualization libraries"; 61 homepage = "https://github.com/holoviz/panel"; 62 changelog = "https://github.com/holoviz/panel/releases/tag/v${version}"; 63 license = licenses.bsd3; 64 maintainers = with maintainers; [ ]; 65 }; 66}