From cce5ff7b493871d6c5726039fd31b70aa60af16d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 24 Apr 2024 17:50:00 +0200 Subject: [PATCH 1/2] python312Packages.aiolyric: 2.0.0 -> 2.0.1 Changelog: https://github.com/timmo001/aiolyric/releases/tag/v2.0.1 --- pkgs/development/python-modules/aiolyric/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/aiolyric/default.nix b/pkgs/development/python-modules/aiolyric/default.nix index 916754dc8c67..7fbccbb10619 100644 --- a/pkgs/development/python-modules/aiolyric/default.nix +++ b/pkgs/development/python-modules/aiolyric/default.nix @@ -1,7 +1,9 @@ { lib , aiohttp +, aioresponses , buildPythonPackage , fetchFromGitHub +, incremental , pythonOlder , pytestCheckHook , setuptools @@ -9,16 +11,16 @@ buildPythonPackage rec { pname = "aiolyric"; - version = "2.0.0"; + version = "2.0.1"; pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "timmo001"; repo = "aiolyric"; rev = "refs/tags/${version}"; - hash = "sha256-FZhLjVrLzLv6CZz/ROlvbtBK9XnpO8pG48aSIoBxhCo="; + hash = "sha256-pN/F4Rdov06sm1yfJQEzmWyujWVeVU+bNGGkgnN4jYw="; }; build-system = [ @@ -27,9 +29,11 @@ buildPythonPackage rec { dependencies = [ aiohttp + incremental ]; nativeCheckInputs = [ + aioresponses pytestCheckHook ]; From 0db8c9ed502e349cab8eb55b45e7c71e9842d065 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 24 Apr 2024 17:50:44 +0200 Subject: [PATCH 2/2] python312Packages.aiolyric: format with nixfmt --- .../python-modules/aiolyric/default.nix | 27 +++++++++---------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/pkgs/development/python-modules/aiolyric/default.nix b/pkgs/development/python-modules/aiolyric/default.nix index 7fbccbb10619..4411b52a344f 100644 --- a/pkgs/development/python-modules/aiolyric/default.nix +++ b/pkgs/development/python-modules/aiolyric/default.nix @@ -1,12 +1,13 @@ -{ lib -, aiohttp -, aioresponses -, buildPythonPackage -, fetchFromGitHub -, incremental -, pythonOlder -, pytestCheckHook -, setuptools +{ + lib, + aiohttp, + aioresponses, + buildPythonPackage, + fetchFromGitHub, + incremental, + pythonOlder, + pytestCheckHook, + setuptools, }: buildPythonPackage rec { @@ -23,9 +24,7 @@ buildPythonPackage rec { hash = "sha256-pN/F4Rdov06sm1yfJQEzmWyujWVeVU+bNGGkgnN4jYw="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ aiohttp @@ -42,9 +41,7 @@ buildPythonPackage rec { "test_priority" ]; - pythonImportsCheck = [ - "aiolyric" - ]; + pythonImportsCheck = [ "aiolyric" ]; meta = with lib; { description = "Python module for the Honeywell Lyric Platform";