ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pyvis / default.nix
blobf13e1bbac798fc28b215df7f48f7e5fa98e16d5e
1 { lib
2 , fetchFromGitHub
3 , fetchpatch
4 , buildPythonPackage
5 , networkx
6 , jinja2
7 , ipython
8 , jsonpickle
9 , numpy
12 buildPythonPackage rec {
13   pname = "pyvis";
14   version = "0.2.1";
16   src = fetchFromGitHub {
17     owner = "WestHealth";
18     repo = pname;
19     rev = "v${version}";
20     sha256 = "sha256-cER5XYxnURzRLtrisWBu2kxtOiRqgaRTJYyaCMh2qqE=";
21   };
23   patches = [
24     # Fix test: https://github.com/WestHealth/pyvis/issues/138
25     (fetchpatch {
26       url = "https://github.com/WestHealth/pyvis/commit/eaa24b882401e2e74353efa78bf4e71a880cfc47.patch";
27       sha256 = "sha256-hyDypavoCM36SiuQda1U4FLUPdAjTIMtaeZ0KqfHKzI=";
28     })
29   ];
31   propagatedBuildInputs = [ networkx jinja2 ipython jsonpickle ];
33   checkInputs = [ numpy ];
35   pythonImportsCheck = [ "pyvis" ];
37   meta = with lib; {
38     homepage = "https://github.com/WestHealth/pyvis";
39     description = "Python package for creating and visualizing interactive network graphs";
40     license = licenses.bsd3;
41     maintainers = with maintainers; [ erictapen ];
42   };