From d1a750bcf7aceba31c3c166fbbe349b8ab524b05 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 19 Apr 2024 03:38:56 +0000 Subject: [PATCH 1/2] python312Packages.pyenphase: 1.20.1 -> 1.20.2 --- pkgs/development/python-modules/pyenphase/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyenphase/default.nix b/pkgs/development/python-modules/pyenphase/default.nix index b3e4863f2472..6d7b8e1b6c35 100644 --- a/pkgs/development/python-modules/pyenphase/default.nix +++ b/pkgs/development/python-modules/pyenphase/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "pyenphase"; - version = "1.20.1"; + version = "1.20.2"; pyproject = true; disabled = pythonOlder "3.11"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "pyenphase"; repo = "pyenphase"; rev = "refs/tags/v${version}"; - hash = "sha256-Bxwd8qHsvq9BuBMSu5JI/Yk/KC5aQ7b7lnXuIoNQ6EI="; + hash = "sha256-sjZaLqTYoXJ1cpaSuyLNAsUrACOMVah7DKaKxGkG0zE="; }; postPatch = '' From 1e4cdb9c60d01f8e1317bbd9cf818d8868fdf6a6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 19 Apr 2024 08:38:09 +0200 Subject: [PATCH 2/2] python312Packages.pyenphase: foramt with nixfmt --- .../python-modules/pyenphase/default.nix | 41 +++++++++---------- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/pkgs/development/python-modules/pyenphase/default.nix b/pkgs/development/python-modules/pyenphase/default.nix index 6d7b8e1b6c35..45e4b014db72 100644 --- a/pkgs/development/python-modules/pyenphase/default.nix +++ b/pkgs/development/python-modules/pyenphase/default.nix @@ -1,19 +1,20 @@ -{ lib -, awesomeversion -, buildPythonPackage -, envoy-utils -, fetchFromGitHub -, httpx -, lxml -, orjson -, poetry-core -, pyjwt -, pytest-asyncio -, pytestCheckHook -, pythonOlder -, respx -, syrupy -, tenacity +{ + lib, + awesomeversion, + buildPythonPackage, + envoy-utils, + fetchFromGitHub, + httpx, + lxml, + orjson, + poetry-core, + pyjwt, + pytest-asyncio, + pytestCheckHook, + pythonOlder, + respx, + syrupy, + tenacity, }: buildPythonPackage rec { @@ -35,9 +36,7 @@ buildPythonPackage rec { --replace-fail " --cov=pyenphase --cov-report=term-missing:skip-covered" "" ''; - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; dependencies = [ awesomeversion @@ -61,9 +60,7 @@ buildPythonPackage rec { "test_with_7_x_firmware" ]; - pythonImportsCheck = [ - "pyenphase" - ]; + pythonImportsCheck = [ "pyenphase" ]; meta = with lib; { description = "Library to control enphase envoy";