From 78c27b37571b76e71a62d5b8cb4accc4922544cf Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 1 Dec 2023 16:08:36 +0100 Subject: [PATCH] python311Packages.apricot-select: move nose to check deps --- pkgs/development/python-modules/apricot-select/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/apricot-select/default.nix b/pkgs/development/python-modules/apricot-select/default.nix index 105f6a71c915..5680b15530e9 100644 --- a/pkgs/development/python-modules/apricot-select/default.nix +++ b/pkgs/development/python-modules/apricot-select/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub +, nose , numba , numpy , pytestCheckHook @@ -26,6 +27,10 @@ buildPythonPackage rec { hash = "sha256-v9BHFxmlbwXVipPze/nV35YijdFBuka3gAl85AlsffQ="; }; + postPatch = '' + sed -i '/"nose"/d' setup.py + ''; + nativeBuildInputs = [ setuptools ]; @@ -38,6 +43,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + nose pytestCheckHook torchvision scikit-learn