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