pythonPackages.pyvis: init at 2021-04-29 (#127811)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
erictapen 2021-06-24 14:14:30 +02:00 committed by GitHub
parent c7dcd066b8
commit 98db2f6bfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ lib
, isPy3k
, fetchFromGitHub
, fetchpatch
, buildPythonPackage
, networkx
, jinja2
, ipython
, jsonpickle
, numpy }:
buildPythonPackage rec {
pname = "pyvis";
version = "unstable-2021-04-29";
# We use unstable, as test are failing for 0.1.9
src = fetchFromGitHub {
owner = "WestHealth";
repo = pname;
rev = "4c521302abf9725dcbe7f59962baf85360b2718d";
sha256 = "sha256-DYbHQpxtSfiLbzmBGclym/ChM0WLBzSEC/3phDTtGY8=";
};
patches = [
# Remove when https://github.com/WestHealth/pyvis/pull/101 is merged.
(fetchpatch {
url = "https://github.com/WestHealth/pyvis/commit/158a34de45f970b17ffd746c6e705b89128e2445.patch";
sha256 = "sha256-zK72nrnn5YLGNW6PKYUyHry5ORCdt1T1oH6n1X64DKg=";
})
];
propagatedBuildInputs = [ networkx jinja2 ipython jsonpickle ];
checkInputs = [ numpy ];
pythonImportsCheck = [ "pyvis" ];
meta = with lib; {
homepage = "https://github.com/WestHealth/pyvis";
description = "Python package for creating and visualizing interactive network graphs";
license = licenses.bsd3;
maintainers = with maintainers; [ erictapen ];
};
}

View File

@ -7171,6 +7171,8 @@ in {
pyvicare = callPackage ../development/python-modules/pyvicare { };
pyvis = callPackage ../development/python-modules/pyvis { };
pyvisa = callPackage ../development/python-modules/pyvisa { };
pyvisa-py = callPackage ../development/python-modules/pyvisa-py { };