python3Packages.ha-philipsjs: init at 2.7.4

This commit is contained in:
Fabian Affolter 2021-05-16 01:56:16 +02:00
parent 06d8a6f99d
commit 3771fed9b9
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, cryptography
, fetchFromGitHub
, httpx
, pytest-aiohttp
, pytest-mock
, pytestCheckHook
, pythonOlder
, respx
}:
buildPythonPackage rec {
pname = "ha-philipsjs";
version = "2.7.4";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "danielperna84";
repo = pname;
rev = version;
sha256 = "08fjdb1q02dwxq8s15ddd00gps64xplblkn8dx5yivldskiy8i1n";
};
propagatedBuildInputs = [
cryptography
httpx
];
checkInputs = [
pytest-aiohttp
pytest-mock
pytestCheckHook
respx
];
pythonImportsCheck = [ "haphilipsjs" ];
meta = with lib; {
description = "Python library to interact with Philips TVs with jointSPACE API";
homepage = "https://github.com/danielperna84/ha-philipsjs";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -3015,6 +3015,8 @@ in {
ha-ffmpeg = callPackage ../development/python-modules/ha-ffmpeg { };
ha-philipsjs = callPackage ../development/python-modules/ha-philipsjs{ };
halo = callPackage ../development/python-modules/halo { };
handout = callPackage ../development/python-modules/handout { };