From 2bb1ae361f89f0a13fd66a66b322e791d17d5c88 Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Wed, 5 Apr 2023 15:28:43 -0400 Subject: [PATCH] python310Packages.nitime: minor maintenance --- .../python-modules/nitime/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/nitime/default.nix b/pkgs/development/python-modules/nitime/default.nix index 7e6d122e7e5e..105cecd95b10 100644 --- a/pkgs/development/python-modules/nitime/default.nix +++ b/pkgs/development/python-modules/nitime/default.nix @@ -1,7 +1,8 @@ -{ lib +{ stdenv +, lib , buildPythonPackage , fetchPypi -, isPy27 +, pythonOlder , pytestCheckHook , cython , numpy @@ -14,21 +15,20 @@ buildPythonPackage rec { pname = "nitime"; version = "0.10.1"; - disabled = isPy27; + disabled = pythonOlder "3.7"; + format = "pyproject"; src = fetchPypi { inherit pname version; hash = "sha256-NnoVrSt6MTTcNup1e+/1v5JoHCYcycuQH4rHLzXJt+Y="; }; - nativeCheckInputs = [ pytestCheckHook ]; buildInputs = [ cython ]; propagatedBuildInputs = [ numpy scipy matplotlib networkx nibabel ]; - disabledTests = [ - # https://github.com/nipy/nitime/issues/197 - "test_FilterAnalyzer" - ]; + nativeCheckInputs = [ pytestCheckHook ]; + doCheck = !stdenv.isDarwin; # tests hang indefinitely + pythonImportsCheck = [ "nitime" ]; meta = with lib; { homepage = "https://nipy.org/nitime";