Merge pull request #318473 from fabaff/pydaikin-bump

python312Packages.pydaikin: 2.11.1 -> 2.13.0

authored by tomberek and committed by GitHub b8469764 63436b68

+18 -12
+18 -12
pkgs/development/python-modules/pydaikin/default.nix
··· 2 2 lib, 3 3 aiohttp, 4 4 buildPythonPackage, 5 - fetchFromBitbucket, 5 + fetchFromGitHub, 6 6 freezegun, 7 7 netifaces, 8 8 pytest-aiohttp, 9 9 pytestCheckHook, 10 10 pythonOlder, 11 11 urllib3, 12 + setuptools, 13 + tenacity, 12 14 }: 13 15 14 16 buildPythonPackage rec { 15 17 pname = "pydaikin"; 16 - version = "2.11.1"; 17 - format = "setuptools"; 18 + version = "2.13.0"; 19 + pyproject = true; 18 20 19 - disabled = pythonOlder "3.6"; 21 + disabled = pythonOlder "3.11"; 20 22 21 - src = fetchFromBitbucket { 22 - owner = "mustang51"; 23 - repo = pname; 24 - rev = "v${version}"; 25 - hash = "sha256-IBrd4PH8EzVVVFQtJdJ8bTMLEzfh7MYMe79yuCrhmww="; 23 + src = fetchFromGitHub { 24 + owner = "fredrike"; 25 + repo = "pydaikin"; 26 + rev = "refs/tags/v${version}"; 27 + hash = "sha256-t4SyFAgrLpXlDx464OHBWT8b+vGfIGZH6lKjX0k6tNw="; 26 28 }; 27 29 28 - propagatedBuildInputs = [ 30 + build-system = [ setuptools ]; 31 + 32 + dependencies = [ 29 33 aiohttp 30 34 netifaces 31 35 urllib3 36 + tenacity 32 37 ]; 33 38 34 39 doCheck = false; # tests fail and upstream does not seem to run them either ··· 43 48 44 49 meta = with lib; { 45 50 description = "Python Daikin HVAC appliances interface"; 46 - mainProgram = "pydaikin"; 47 - homepage = "https://bitbucket.org/mustang51/pydaikin"; 51 + homepage = "https://github.com/fredrike/pydaikin"; 52 + changelog = "https://github.com/fredrike/pydaikin/releases/tag/v${version}"; 48 53 license = with licenses; [ gpl3Only ]; 49 54 maintainers = with maintainers; [ fab ]; 55 + mainProgram = "pydaikin"; 50 56 }; 51 57 }