From ce335eb9bd2f8308becd69cbf4d635f8d9755a3c Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Fri, 23 Jan 2026 00:01:16 +0100 Subject: [PATCH 1/2] python3Packages.iplotx: 0.9.0 -> 1.6.0 --- pkgs/development/python-modules/iplotx/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/iplotx/default.nix b/pkgs/development/python-modules/iplotx/default.nix index 6f69ca7818f2..7d1a27d929c3 100644 --- a/pkgs/development/python-modules/iplotx/default.nix +++ b/pkgs/development/python-modules/iplotx/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "iplotx"; - version = "0.9.0"; + version = "1.6.0"; pyproject = true; src = fetchFromGitHub { owner = "fabilab"; repo = "iplotx"; tag = version; - hash = "sha256-VYqNz6sbLgniNB9DTCbhgno/91Pd7zoGFg2vx68211Q="; + hash = "sha256-pTSY7eEYKwBSDttxZqauGCofYK5SFaxjJLXYBwSr3ew="; }; build-system = [ hatchling ]; @@ -49,10 +49,12 @@ buildPythonPackage rec { # These tests result in an ImageComparisonFailure "test_complex" "test_complex_rotatelabels" + "test_curved_waypoints" "test_directed_graph" "test_display_shortest_path" "test_labels" "test_labels_and_colors" + "test_vertex_labels" ]; nativeCheckInputs = [ pytestCheckHook ] ++ lib.concatAttrValues optional-dependencies; From 5b39910f5427efa87159572bb60ecc298f169e4f Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Fri, 23 Jan 2026 00:02:17 +0100 Subject: [PATCH 2/2] python3Packages.iplotx: use finalAttrs --- pkgs/development/python-modules/iplotx/default.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/iplotx/default.nix b/pkgs/development/python-modules/iplotx/default.nix index 7d1a27d929c3..3f098ef33d2b 100644 --- a/pkgs/development/python-modules/iplotx/default.nix +++ b/pkgs/development/python-modules/iplotx/default.nix @@ -12,7 +12,7 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "iplotx"; version = "1.6.0"; pyproject = true; @@ -20,7 +20,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "fabilab"; repo = "iplotx"; - tag = version; + tag = finalAttrs.version; hash = "sha256-pTSY7eEYKwBSDttxZqauGCofYK5SFaxjJLXYBwSr3ew="; }; @@ -57,7 +57,10 @@ buildPythonPackage rec { "test_vertex_labels" ]; - nativeCheckInputs = [ pytestCheckHook ] ++ lib.concatAttrValues optional-dependencies; + nativeCheckInputs = [ + pytestCheckHook + ] + ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies; pythonImportsCheck = [ "iplotx" ]; @@ -67,4 +70,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ jboy ]; }; -} +})