From ff3b209756096a2befcaa83b3058cb4900a4a0e2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 6 Jan 2025 22:53:56 +0100 Subject: [PATCH] python312Packages.pylutron-caseta: 0.22.0 -> 0.23.0 Diff: https://github.com/gurumitts/pylutron-caseta/compare/refs/tags/v0.22.0...v0.23.0 Changelog: https://github.com/gurumitts/pylutron-caseta/blob/v0.23.0/CHANGELOG.md --- .../python-modules/pylutron-caseta/default.nix | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pylutron-caseta/default.nix b/pkgs/development/python-modules/pylutron-caseta/default.nix index 3d2f1f2e8658..4a0a2105d172 100644 --- a/pkgs/development/python-modules/pylutron-caseta/default.nix +++ b/pkgs/development/python-modules/pylutron-caseta/default.nix @@ -6,6 +6,7 @@ cryptography, fetchFromGitHub, hatchling, + orjson, pytest-asyncio, pytest-timeout, pytestCheckHook, @@ -16,7 +17,7 @@ buildPythonPackage rec { pname = "pylutron-caseta"; - version = "0.22.0"; + version = "0.23.0"; pyproject = true; disabled = pythonOlder "3.8"; @@ -25,12 +26,15 @@ buildPythonPackage rec { owner = "gurumitts"; repo = "pylutron-caseta"; tag = "v${version}"; - hash = "sha256-8NO1IAm16b5jxjVPSQqOSx5hJjAOAXyOknqwkgPT5Zo="; + hash = "sha256-p8c+WY+x5KcF7r6FXeF89JNtAwogRZELqXWgDc2iJek="; }; - nativeBuildInputs = [ hatchling ]; + build-system = [ hatchling ]; - propagatedBuildInputs = [ cryptography ] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ]; + dependencies = [ + cryptography + orjson + ] ++ lib.optionals (pythonOlder "3.11") [ async-timeout ]; optional-dependencies = { cli = [ @@ -51,10 +55,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "pylutron_caseta" ]; meta = with lib; { - description = "Python module o control Lutron Caseta devices"; + description = "Python module to control Lutron Caseta devices"; homepage = "https://github.com/gurumitts/pylutron-caseta"; changelog = "https://github.com/gurumitts/pylutron-caseta/blob/v${version}/CHANGELOG.md"; - license = with licenses; [ asl20 ]; + license = licenses.asl20; maintainers = with maintainers; [ fab ]; }; }