Loading pkgs/development/python-modules/iplotx/default.nix 0 → 100644 +66 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, hatchling, igraph, matplotlib, networkx, numpy, pandas, pylint, pytestCheckHook, }: buildPythonPackage rec { pname = "iplotx"; version = "0.3.1"; pyproject = true; src = fetchFromGitHub { owner = "fabilab"; repo = "iplotx"; tag = version; hash = "sha256-3Nn/sz1yUaxhGFr0hMGoLEBF5pNs+tz/KpsGtKkYujo="; }; build-system = [ hatchling ]; dependencies = [ matplotlib numpy pandas pylint ]; pythonRelaxDeps = [ "pylint" ]; optional-dependencies = { igraph = [ igraph ]; networkx = [ networkx ]; }; postPatch = '' # silence matplotlib warning export MPLCONFIGDIR=$(mktemp -d) ''; # These four tests result in an ImageComparisonFailure disabledTests = [ "test_labels" "test_complex" "test_display_shortest_path" "test_labels_and_colors" ]; nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies); pythonImportsCheck = [ "iplotx" ]; meta = { description = "Plot networkx from igraph and networkx"; homepage = "https://iplotx.readthedocs.io/"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jboy ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7010,6 +7010,8 @@ self: super: with self; { ipfshttpclient = callPackage ../development/python-modules/ipfshttpclient { }; iplotx = callPackage ../development/python-modules/iplotx { }; iptools = callPackage ../development/python-modules/iptools { }; ipwhl = callPackage ../development/python-modules/ipwhl { }; Loading Loading
pkgs/development/python-modules/iplotx/default.nix 0 → 100644 +66 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, hatchling, igraph, matplotlib, networkx, numpy, pandas, pylint, pytestCheckHook, }: buildPythonPackage rec { pname = "iplotx"; version = "0.3.1"; pyproject = true; src = fetchFromGitHub { owner = "fabilab"; repo = "iplotx"; tag = version; hash = "sha256-3Nn/sz1yUaxhGFr0hMGoLEBF5pNs+tz/KpsGtKkYujo="; }; build-system = [ hatchling ]; dependencies = [ matplotlib numpy pandas pylint ]; pythonRelaxDeps = [ "pylint" ]; optional-dependencies = { igraph = [ igraph ]; networkx = [ networkx ]; }; postPatch = '' # silence matplotlib warning export MPLCONFIGDIR=$(mktemp -d) ''; # These four tests result in an ImageComparisonFailure disabledTests = [ "test_labels" "test_complex" "test_display_shortest_path" "test_labels_and_colors" ]; nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies); pythonImportsCheck = [ "iplotx" ]; meta = { description = "Plot networkx from igraph and networkx"; homepage = "https://iplotx.readthedocs.io/"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ jboy ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7010,6 +7010,8 @@ self: super: with self; { ipfshttpclient = callPackage ../development/python-modules/ipfshttpclient { }; iplotx = callPackage ../development/python-modules/iplotx { }; iptools = callPackage ../development/python-modules/iptools { }; ipwhl = callPackage ../development/python-modules/ipwhl { }; Loading