From 2a5dffb3959fae2c8681b8ea6104020550122f79 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sat, 27 Jul 2024 15:43:55 +0200 Subject: [PATCH] python312Packages.pytimeparse: drop nose dependency --- pkgs/development/python-modules/pytimeparse/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/pytimeparse/default.nix b/pkgs/development/python-modules/pytimeparse/default.nix index 87a1d9c6f1b3..f18cd6df1d1f 100644 --- a/pkgs/development/python-modules/pytimeparse/default.nix +++ b/pkgs/development/python-modules/pytimeparse/default.nix @@ -2,7 +2,7 @@ lib, buildPythonPackage, fetchPypi, - nose, + pytestCheckHook, pythonOlder, setuptools, }: @@ -21,10 +21,8 @@ buildPythonPackage rec { build-system = [ setuptools ]; - # tests rely on nose - doCheck = pythonOlder "3.12"; - - nativeCheckInputs = [ nose ]; + nativeCheckInputs = [ pytestCheckHook ]; + pytestFlagsArray = [ "pytimeparse/tests/testtimeparse.py" ]; pythonImportsCheck = [ "pytimeparse" ];