Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 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.4.4"; 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-tJu5Z2VnsMBzC/aTSMBXJHCAgRrsVjZN1Pz7qA5eCaA="; 29 dist = "py3"; 30 python = "py3"; 31 }; 32 33 34 pythonRelaxDeps = [ "bokeh" ]; 35 36 propagatedBuildInputs = [ 37 bleach 38 bokeh 39 markdown 40 param 41 pyct 42 pyviz-comms 43 requests 44 setuptools 45 tqdm 46 typing-extensions 47 ]; 48 49 pythonImportsCheck = [ "panel" ]; 50 51 # infinite recursion in test dependencies (hvplot) 52 doCheck = false; 53 54 meta = with lib; { 55 description = "High level dashboarding library for python visualization libraries"; 56 mainProgram = "panel"; 57 homepage = "https://github.com/holoviz/panel"; 58 changelog = "https://github.com/holoviz/panel/releases/tag/v${version}"; 59 license = licenses.bsd3; 60 maintainers = [ ]; 61 }; 62}