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 ]; }; }