From 08de50e84bb1af4215e1d2546abd475fd65af8aa Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 2 Sep 2025 13:00:39 +0200 Subject: [PATCH] python313Packages.aiopurpleair: modernize --- .../python-modules/aiopurpleair/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/aiopurpleair/default.nix b/pkgs/development/python-modules/aiopurpleair/default.nix index 2684877e0afb..74352f3c3b41 100644 --- a/pkgs/development/python-modules/aiopurpleair/default.nix +++ b/pkgs/development/python-modules/aiopurpleair/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { pname = "aiopurpleair"; version = "2025.08.1"; - format = "pyproject"; + pyproject = true; disabled = pythonOlder "3.9"; @@ -27,9 +27,9 @@ buildPythonPackage rec { hash = "sha256-VmKIIgfZFk9z8WORDHA4ibL4FZchiRrT6L0rCkxosoc="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp pydantic certifi @@ -54,8 +54,8 @@ buildPythonPackage rec { meta = with lib; { description = "Python library for interacting with the PurpleAir API"; homepage = "https://github.com/bachya/aiopurpleair"; - changelog = "https://github.com/bachya/aiopurpleair/releases/tag/${version}"; - license = with licenses; [ mit ]; + changelog = "https://github.com/bachya/aiopurpleair/releases/tag/${src.tag}"; + license = licenses.mit; maintainers = with maintainers; [ fab ]; }; }