Merge pull request #112987 from fabaff/pydaikin

This commit is contained in:
Sandro 2021-02-14 01:12:47 +01:00 committed by GitHub
commit 074080a36b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 1 deletions

View file

@ -0,0 +1,45 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromBitbucket
, freezegun
, netifaces
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
, urllib3
}:
buildPythonPackage rec {
pname = "pydaikin";
version = "2.4.1";
disabled = pythonOlder "3.6";
src = fetchFromBitbucket {
owner = "mustang51";
repo = pname;
rev = "v${version}";
sha256 = "1624adp4lqd1n9flnf0wqrcibml2nd19ga3fmxzjg4x5z6767bs3";
};
propagatedBuildInputs = [
aiohttp
netifaces
urllib3
];
checkInputs = [
freezegun
pytest-aiohttp
pytestCheckHook
];
pythonImportsCheck = [ "pydaikin" ];
meta = with lib; {
description = "Python Daikin HVAC appliances interface";
homepage = "https://bitbucket.org/mustang51/pydaikin";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -145,7 +145,7 @@
"crimereports" = ps: with ps; [ ]; # missing inputs: crimereports "crimereports" = ps: with ps; [ ]; # missing inputs: crimereports
"cups" = ps: with ps; [ pycups ]; "cups" = ps: with ps; [ pycups ];
"currencylayer" = ps: with ps; [ ]; "currencylayer" = ps: with ps; [ ];
"daikin" = ps: with ps; [ ]; # missing inputs: pydaikin "daikin" = ps: with ps; [ pydaikin ];
"danfoss_air" = ps: with ps; [ ]; # missing inputs: pydanfossair "danfoss_air" = ps: with ps; [ ]; # missing inputs: pydanfossair
"darksky" = ps: with ps; [ python-forecastio ]; "darksky" = ps: with ps; [ python-forecastio ];
"datadog" = ps: with ps; [ datadog ]; "datadog" = ps: with ps; [ datadog ];

View file

@ -5344,6 +5344,8 @@ in {
pycxx = callPackage ../development/python-modules/pycxx { }; pycxx = callPackage ../development/python-modules/pycxx { };
pydaikin = callPackage ../development/python-modules/pydaikin { };
pydantic = callPackage ../development/python-modules/pydantic { }; pydantic = callPackage ../development/python-modules/pydantic { };
pydbus = callPackage ../development/python-modules/pydbus { }; pydbus = callPackage ../development/python-modules/pydbus { };