From 14296c45a33ce0890fe468f6e736c97c8ddde447 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 9 Jun 2024 10:13:33 +0200 Subject: [PATCH] python312Packages.pydaikin: 2.11.1 -> 2.13.0 Diff: https://github.com/fredrike/pydaikin/compare/refs/tags/v2.11.1...v2.13.0 Changelog: https://github.com/fredrike/pydaikin/releases/tag/v2.13.0 --- .../python-modules/pydaikin/default.nix | 30 +++++++++++-------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/pydaikin/default.nix b/pkgs/development/python-modules/pydaikin/default.nix index c551f3db5588..4693e97e7627 100644 --- a/pkgs/development/python-modules/pydaikin/default.nix +++ b/pkgs/development/python-modules/pydaikin/default.nix @@ -2,33 +2,38 @@ lib, aiohttp, buildPythonPackage, - fetchFromBitbucket, + fetchFromGitHub, freezegun, netifaces, pytest-aiohttp, pytestCheckHook, pythonOlder, urllib3, + setuptools, + tenacity, }: buildPythonPackage rec { pname = "pydaikin"; - version = "2.11.1"; - format = "setuptools"; + version = "2.13.0"; + pyproject = true; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.11"; - src = fetchFromBitbucket { - owner = "mustang51"; - repo = pname; - rev = "v${version}"; - hash = "sha256-IBrd4PH8EzVVVFQtJdJ8bTMLEzfh7MYMe79yuCrhmww="; + src = fetchFromGitHub { + owner = "fredrike"; + repo = "pydaikin"; + rev = "refs/tags/v${version}"; + hash = "sha256-t4SyFAgrLpXlDx464OHBWT8b+vGfIGZH6lKjX0k6tNw="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ aiohttp netifaces urllib3 + tenacity ]; doCheck = false; # tests fail and upstream does not seem to run them either @@ -43,9 +48,10 @@ buildPythonPackage rec { meta = with lib; { description = "Python Daikin HVAC appliances interface"; - mainProgram = "pydaikin"; - homepage = "https://bitbucket.org/mustang51/pydaikin"; + homepage = "https://github.com/fredrike/pydaikin"; + changelog = "https://github.com/fredrike/pydaikin/releases/tag/v${version}"; license = with licenses; [ gpl3Only ]; maintainers = with maintainers; [ fab ]; + mainProgram = "pydaikin"; }; }