From 0004c3c898ea34508594a30cf0b16ab87a83237c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 5 Nov 2024 15:26:01 +0100 Subject: [PATCH] python312Packages.yaspin: fix build, set pyproject = true --- pkgs/development/python-modules/yaspin/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/yaspin/default.nix b/pkgs/development/python-modules/yaspin/default.nix index 9d9bee3a2857..40ad8de8ef30 100644 --- a/pkgs/development/python-modules/yaspin/default.nix +++ b/pkgs/development/python-modules/yaspin/default.nix @@ -12,20 +12,24 @@ buildPythonPackage rec { pname = "yaspin"; version = "3.1.0"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "pavdmyt"; - repo = pname; + repo = "yaspin"; rev = "refs/tags/v${version}"; hash = "sha256-4IWaAPqzGri7V8X2gL607F5GlWfIFDlBBpDwSe4sz9I="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ termcolor ]; + dependencies = [ termcolor ]; + + pythonRelaxDeps = [ + "termcolor" + ]; nativeCheckInputs = [ pytest-xdist