File tree Expand file tree Collapse file tree
pkgs/development/python-modules/pydaikin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
1416buildPythonPackage 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}
You can’t perform that action at this time.
0 commit comments