From 6dceb2db13a5c33f7843383e2250805fcb152075 Mon Sep 17 00:00:00 2001 From: natsukium Date: Tue, 14 Jan 2025 17:45:37 +0900 Subject: [PATCH] python312Packages.binance-connector: switch to pypa builder --- .../python-modules/binance-connector/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/binance-connector/default.nix b/pkgs/development/python-modules/binance-connector/default.nix index 3946cfdb2013..dfecac9e1faa 100644 --- a/pkgs/development/python-modules/binance-connector/default.nix +++ b/pkgs/development/python-modules/binance-connector/default.nix @@ -5,10 +5,10 @@ pycryptodome, pythonOlder, requests, + setuptools, websocket-client, # dependencies for tests pytest-cov-stub, - pytest, sure, responses, pytestCheckHook, @@ -17,7 +17,7 @@ buildPythonPackage rec { pname = "binance-connector"; version = "3.12.0"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; @@ -28,7 +28,9 @@ buildPythonPackage rec { hash = "sha256-8O73+fli0HNbvGBcyg79ZGOTQvL0TF5SCfogI6btlrA="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ requests pycryptodome websocket-client @@ -36,7 +38,6 @@ buildPythonPackage rec { nativeCheckInputs = [ pytest-cov-stub - pytest sure responses pytestCheckHook