From ececef9cce0975c2303f8b511a4eecad64c9a90e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 6 Apr 2024 14:26:34 +0000 Subject: [PATCH 1/3] python312Packages.aiolifx: 1.0.1 -> 1.0.2 --- pkgs/development/python-modules/aiolifx/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiolifx/default.nix b/pkgs/development/python-modules/aiolifx/default.nix index a9362a9dac3d..ed36097dc794 100644 --- a/pkgs/development/python-modules/aiolifx/default.nix +++ b/pkgs/development/python-modules/aiolifx/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "aiolifx"; - version = "1.0.1"; + version = "1.0.2"; pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-r42M7aqKKLdGgRaCym44M1nvu0vTGK7ricBp/AsbFRk="; + hash = "sha256-E3UxNTqss3urpMTwhLhIoAnBekGOIyFy0+sOj3mGlss="; }; nativeBuildInputs = [ From 6774faa424e864668e485609a2ab1cb0a53a4b1a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 6 Apr 2024 17:33:53 +0200 Subject: [PATCH 2/3] python312Packages.aiolifx: refactor --- pkgs/development/python-modules/aiolifx/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/aiolifx/default.nix b/pkgs/development/python-modules/aiolifx/default.nix index ed36097dc794..9e8597cce3c2 100644 --- a/pkgs/development/python-modules/aiolifx/default.nix +++ b/pkgs/development/python-modules/aiolifx/default.nix @@ -1,12 +1,12 @@ { lib , async-timeout +, bitstring +, buildPythonPackage , click , fetchPypi -, buildPythonPackage -, pythonOlder , ifaddr , inquirerpy -, bitstring +, pythonOlder , setuptools }: @@ -22,11 +22,11 @@ buildPythonPackage rec { hash = "sha256-E3UxNTqss3urpMTwhLhIoAnBekGOIyFy0+sOj3mGlss="; }; - nativeBuildInputs = [ + build-system = [ setuptools ]; - propagatedBuildInputs = [ + dependencies = [ async-timeout bitstring click @@ -43,10 +43,10 @@ buildPythonPackage rec { meta = with lib; { description = "Module for local communication with LIFX devices over a LAN"; - mainProgram = "aiolifx"; homepage = "https://github.com/frawau/aiolifx"; changelog = "https://github.com/frawau/aiolifx/releases/tag/${version}"; license = licenses.mit; maintainers = with maintainers; [ netixx ]; + mainProgram = "aiolifx"; }; } From f1b8ec7b340da1859530f986bf42e7ad83fcd2bc Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 6 Apr 2024 17:34:26 +0200 Subject: [PATCH 3/3] python312Packages.aiolifx: format with nixfmt --- .../python-modules/aiolifx/default.nix | 29 +++++++++---------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/pkgs/development/python-modules/aiolifx/default.nix b/pkgs/development/python-modules/aiolifx/default.nix index 9e8597cce3c2..8f3a773b713e 100644 --- a/pkgs/development/python-modules/aiolifx/default.nix +++ b/pkgs/development/python-modules/aiolifx/default.nix @@ -1,13 +1,14 @@ -{ lib -, async-timeout -, bitstring -, buildPythonPackage -, click -, fetchPypi -, ifaddr -, inquirerpy -, pythonOlder -, setuptools +{ + lib, + async-timeout, + bitstring, + buildPythonPackage, + click, + fetchPypi, + ifaddr, + inquirerpy, + pythonOlder, + setuptools, }: buildPythonPackage rec { @@ -22,9 +23,7 @@ buildPythonPackage rec { hash = "sha256-E3UxNTqss3urpMTwhLhIoAnBekGOIyFy0+sOj3mGlss="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ async-timeout @@ -37,9 +36,7 @@ buildPythonPackage rec { # Module has no tests doCheck = false; - pythonImportsCheck = [ - "aiolifx" - ]; + pythonImportsCheck = [ "aiolifx" ]; meta = with lib; { description = "Module for local communication with LIFX devices over a LAN";