From 9a66522c819f46400376c8087c9343f7174fbd97 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 27 Sep 2023 12:21:06 +0200 Subject: [PATCH] python311Packages.pymyq: 3.1.6 -> 3.1.9 Diff: https://github.com/Python-MyQ/Python-MyQ/compare/refs/tags/v3.1.6...v3.1.9 Changelog: https://github.com/Python-MyQ/Python-MyQ/releases/tag/v3.1.9 --- .../python-modules/pymyq/default.nix | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pymyq/default.nix b/pkgs/development/python-modules/pymyq/default.nix index afe7f7af628..a95451182ca 100644 --- a/pkgs/development/python-modules/pymyq/default.nix +++ b/pkgs/development/python-modules/pymyq/default.nix @@ -4,21 +4,28 @@ , buildPythonPackage , fetchFromGitHub , pkce +, poetry-core , pythonOlder }: buildPythonPackage rec { pname = "pymyq"; - version = "3.1.6"; + version = "3.1.9"; + pyproject = true; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { - owner = "arraylabs"; - repo = pname; + owner = "Python-MyQ"; + repo = "Python-MyQ"; rev = "refs/tags/v${version}"; - hash = "sha256-zhGCoZ7mkHlfDjEbQihtM23u+N6nfYsQhKmrloevzp8="; + hash = "sha256-7fGm7VGE9D6vmQkNmiB52+il3GE/rTqTqxqAORy88l4="; }; + nativeBuildInputs = [ + poetry-core + ]; + propagatedBuildInputs = [ aiohttp beautifulsoup4 @@ -34,8 +41,8 @@ buildPythonPackage rec { meta = with lib; { description = "Python wrapper for MyQ API"; - homepage = "https://github.com/arraylabs/pymyq"; - changelog = "https://github.com/arraylabs/pymyq/releases/tag/v${version}"; + homepage = "https://github.com/Python-MyQ/Python-MyQ"; + changelog = "https://github.com/Python-MyQ/Python-MyQ/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; };