python3Packages.aiobroadlink: init at 0.1.3

This commit is contained in:
Fabian Affolter 2021-12-05 16:45:07 +01:00
parent 3cabe0c3da
commit 591ada5c7a
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ lib
, buildPythonPackage
, cryptography
, fetchPypi
, pythonOlder
}:
buildPythonPackage rec {
pname = "aiobroadlink";
version = "0.1.3";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-uTUtDhL9VtWZE+Y6ZJY4prmlE+Yh2UrCg5+eSyAQzMk=";
};
propagatedBuildInputs = [
cryptography
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"aiobroadlink"
];
meta = with lib; {
description = "Python module to control various Broadlink devices";
homepage = "https://github.com/frawau/aiobroadlink";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -317,6 +317,8 @@ in {
aiobotocore = callPackage ../development/python-modules/aiobotocore { }; aiobotocore = callPackage ../development/python-modules/aiobotocore { };
aiobroadlink = callPackage ../development/python-modules/aiobroadlink { };
aiohue = callPackage ../development/python-modules/aiohue { }; aiohue = callPackage ../development/python-modules/aiohue { };
aiohwenergy = callPackage ../development/python-modules/aiohwenergy { }; aiohwenergy = callPackage ../development/python-modules/aiohwenergy { };