Skip to content

Commit b846976

Browse files
authored
Merge pull request #318473 from fabaff/pydaikin-bump
python312Packages.pydaikin: 2.11.1 -> 2.13.0
2 parents 63436b6 + 14296c4 commit b846976

1 file changed

Lines changed: 18 additions & 12 deletions

File tree

pkgs/development/python-modules/pydaikin/default.nix

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,38 @@
22
lib,
33
aiohttp,
44
buildPythonPackage,
5-
fetchFromBitbucket,
5+
fetchFromGitHub,
66
freezegun,
77
netifaces,
88
pytest-aiohttp,
99
pytestCheckHook,
1010
pythonOlder,
1111
urllib3,
12+
setuptools,
13+
tenacity,
1214
}:
1315

1416
buildPythonPackage rec {
1517
pname = "pydaikin";
16-
version = "2.11.1";
17-
format = "setuptools";
18+
version = "2.13.0";
19+
pyproject = true;
1820

19-
disabled = pythonOlder "3.6";
21+
disabled = pythonOlder "3.11";
2022

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=";
2628
};
2729

28-
propagatedBuildInputs = [
30+
build-system = [ setuptools ];
31+
32+
dependencies = [
2933
aiohttp
3034
netifaces
3135
urllib3
36+
tenacity
3237
];
3338

3439
doCheck = false; # tests fail and upstream does not seem to run them either
@@ -43,9 +48,10 @@ buildPythonPackage rec {
4348

4449
meta = with lib; {
4550
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}";
4853
license = with licenses; [ gpl3Only ];
4954
maintainers = with maintainers; [ fab ];
55+
mainProgram = "pydaikin";
5056
};
5157
}

0 commit comments

Comments
 (0)