From aed0d49d9aea27aba2f4491ca6e0af10331af758 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 4 Apr 2024 21:47:09 +0000 Subject: [PATCH 1/2] python312Packages.dirigera: 1.0.12 -> 1.0.14 --- pkgs/development/python-modules/dirigera/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/dirigera/default.nix b/pkgs/development/python-modules/dirigera/default.nix index 96c62ee20089..8932c27496aa 100644 --- a/pkgs/development/python-modules/dirigera/default.nix +++ b/pkgs/development/python-modules/dirigera/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "dirigera"; - version = "1.0.12"; + version = "1.0.14"; pyproject = true; disabled = pythonOlder "3.7"; @@ -20,7 +20,7 @@ buildPythonPackage rec { owner = "Leggin"; repo = "dirigera"; rev = "refs/tags/v${version}"; - hash = "sha256-e8kbMP5ih7MBozFbylLEBR9DrS894X4xZh62OLLSgFw="; + hash = "sha256-FsW7ewKAvIONOjEXIOq7/GqOs564PpeMFKjS4crJtJ0="; }; build-system = [ From 9b2579aa21ad50aa2af511d54516ad3f9eb6eb6a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 5 Apr 2024 00:54:58 +0200 Subject: [PATCH 2/2] python312Packages.dirigera: format with nixfmt --- .../python-modules/dirigera/default.nix | 31 ++++++++----------- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/pkgs/development/python-modules/dirigera/default.nix b/pkgs/development/python-modules/dirigera/default.nix index 8932c27496aa..95beb921230c 100644 --- a/pkgs/development/python-modules/dirigera/default.nix +++ b/pkgs/development/python-modules/dirigera/default.nix @@ -1,12 +1,13 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, pydantic -, pytestCheckHook -, pythonOlder -, requests -, setuptools -, websocket-client +{ + lib, + buildPythonPackage, + fetchFromGitHub, + pydantic, + pytestCheckHook, + pythonOlder, + requests, + setuptools, + websocket-client, }: buildPythonPackage rec { @@ -23,9 +24,7 @@ buildPythonPackage rec { hash = "sha256-FsW7ewKAvIONOjEXIOq7/GqOs564PpeMFKjS4crJtJ0="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ pydantic @@ -33,13 +32,9 @@ buildPythonPackage rec { websocket-client ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; - pythonImportsCheck = [ - "dirigera" - ]; + pythonImportsCheck = [ "dirigera" ]; meta = with lib; { description = "Module for controlling the IKEA Dirigera Smart Home Hub";