3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.aiowebostv: init at 0.1.2

This commit is contained in:
Fabian Affolter 2022-02-03 10:01:22 +01:00
parent d0e8f0c951
commit a4992f0e97
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, websockets
}:
buildPythonPackage rec {
pname = "aiowebostv";
version = "0.1.2";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = pname;
rev = "v${version}";
hash = "sha256-YSrttPoU5XQ9tqNxhHBUqZqKaEZdUdYYJ2CsSREVbbg=";
};
propagatedBuildInputs = [
websockets
];
# Module doesn't have tests
doCheck = false;
pythonImportsCheck = [
"aiowebostv"
];
meta = with lib; {
description = "Module to interact with LG webOS based TV devices";
homepage = "https://github.com/home-assistant-libs/aiowebostv";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -416,6 +416,8 @@ in {
aiowatttime = callPackage ../development/python-modules/aiowatttime { };
aiowebostv = callPackage ../development/python-modules/aiowebostv { };
aiowinreg = callPackage ../development/python-modules/aiowinreg { };
aioymaps = callPackage ../development/python-modules/aioymaps { };