From 29e945ea362394a9f517ba5daa5af4766c1de29e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 20 Nov 2024 19:27:02 +0100 Subject: [PATCH] python312Packages.pynina: refactor --- pkgs/development/python-modules/pynina/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pynina/default.nix b/pkgs/development/python-modules/pynina/default.nix index 6860f121bffc..f8b54a67d0b5 100644 --- a/pkgs/development/python-modules/pynina/default.nix +++ b/pkgs/development/python-modules/pynina/default.nix @@ -4,12 +4,13 @@ buildPythonPackage, fetchPypi, pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "pynina"; version = "0.3.4"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -19,7 +20,11 @@ buildPythonPackage rec { hash = "sha256-/BeT05dHPHfqybsly0QUbBPFFJKEr67vG1xbBfZXQuY="; }; - propagatedBuildInputs = [ aiohttp ]; + pythonRelaxDeps = [ "aiohttp" ]; + + build-system = [ setuptools ]; + + dependencies = [ aiohttp ]; # Project has no tests doCheck = false;