2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
50 lines
959 B
Nix
50 lines
959 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, fetchpatch
|
|
, buildPythonPackage
|
|
, networkx
|
|
, jinja2
|
|
, ipython
|
|
, jsonpickle
|
|
, pytestCheckHook
|
|
, numpy
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyvis";
|
|
version = "0.3.2";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "WestHealth";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-eo9Mk2c0hrBarCrzwmkXha3Qt4Bl1qR7Lhl9EkUx96E=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
jinja2
|
|
networkx
|
|
ipython
|
|
jsonpickle
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
numpy
|
|
];
|
|
|
|
disabledTestPaths = [
|
|
# jupyter integration test with selenium and webdriver_manager
|
|
"pyvis/tests/test_html.py"
|
|
];
|
|
|
|
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; [ pbsds ];
|
|
};
|
|
}
|