From 6adb657a541cb6ac6efe358d48ee0e468b106400 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Thu, 10 Nov 2022 10:24:14 -0800 Subject: [PATCH] python310Packages.igraph: 0.9.11 -> 0.10.2 https://github.com/igraph/python-igraph/blob/0.10.2/CHANGELOG.md --- pkgs/development/python-modules/igraph/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/igraph/default.nix b/pkgs/development/python-modules/igraph/default.nix index 6afa32d35bfb..cc995746f297 100644 --- a/pkgs/development/python-modules/igraph/default.nix +++ b/pkgs/development/python-modules/igraph/default.nix @@ -5,20 +5,20 @@ , pkg-config , igraph , texttable -, python +, unittestCheckHook }: buildPythonPackage rec { pname = "igraph"; - version = "0.9.11"; + version = "0.10.2"; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "igraph"; repo = "python-igraph"; rev = version; - hash = "sha256-tvkV5ve9X+LXx3LOdHIPljQKZc1v6yts0juo4SwDmfY="; + hash = "sha256-ro2EkJQxW8aHejAvkaXI9mJC5XgFt31akhzFDAPZ4ow="; }; postPatch = '' @@ -42,9 +42,9 @@ buildPythonPackage rec { # told to do it. ~ C. setupPyGlobalFlags = [ "--use-pkg-config" ]; - checkPhase = '' - ${python.interpreter} -m unittest - ''; + checkInputs = [ + unittestCheckHook + ]; pythonImportsCheck = [ "igraph" ];