From 3852dd10afd60cbc01337e2317c0445bea6fd25a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 4 Mar 2024 08:29:06 +0100 Subject: [PATCH] python311Packages.reolink-aio: refactor --- pkgs/development/python-modules/reolink-aio/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/reolink-aio/default.nix b/pkgs/development/python-modules/reolink-aio/default.nix index ee9ce7283225..b1fb08c4bdf3 100644 --- a/pkgs/development/python-modules/reolink-aio/default.nix +++ b/pkgs/development/python-modules/reolink-aio/default.nix @@ -5,13 +5,14 @@ , fetchFromGitHub , orjson , pythonOlder +, setuptools , typing-extensions }: buildPythonPackage rec { pname = "reolink-aio"; version = "0.8.9"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.9"; @@ -22,6 +23,10 @@ buildPythonPackage rec { hash = "sha256-MUhB8A51dj+FA3+lvBrFyAWizKq5CpYwo38E1euJsHs="; }; + nativeBuildInputs = [ + setuptools + ]; + propagatedBuildInputs = [ aiohttp aiortsp