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