at master 988 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 setuptools, 6 networkx, 7 jinja2, 8 ipython, 9 jsonpickle, 10 pytestCheckHook, 11 numpy, 12}: 13 14buildPythonPackage rec { 15 pname = "pyvis"; 16 version = "0.3.2"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "WestHealth"; 21 repo = "pyvis"; 22 tag = "v${version}"; 23 hash = "sha256-eo9Mk2c0hrBarCrzwmkXha3Qt4Bl1qR7Lhl9EkUx96E="; 24 }; 25 26 nativeBuildInputs = [ setuptools ]; 27 28 dependencies = [ 29 jinja2 30 networkx 31 ipython 32 jsonpickle 33 ]; 34 35 nativeCheckInputs = [ 36 pytestCheckHook 37 numpy 38 ]; 39 40 disabledTestPaths = [ 41 # jupyter integration test with selenium and webdriver_manager 42 "pyvis/tests/test_html.py" 43 ]; 44 45 pythonImportsCheck = [ "pyvis" ]; 46 47 meta = with lib; { 48 homepage = "https://github.com/WestHealth/pyvis"; 49 description = "Python package for creating and visualizing interactive network graphs"; 50 license = licenses.bsd3; 51 maintainers = with maintainers; [ pbsds ]; 52 }; 53}