evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / ha-philipsjs / default.nix
blob800c28f0651ac610f84324f19bfa41945a172e56
2   lib,
3   buildPythonPackage,
4   cryptography,
5   fetchFromGitHub,
6   httpx,
7   pytest-aiohttp,
8   pytest-mock,
9   pytestCheckHook,
10   pythonOlder,
11   respx,
12   setuptools,
15 buildPythonPackage rec {
16   pname = "ha-philipsjs";
17   version = "3.2.2";
18   pyproject = true;
20   disabled = pythonOlder "3.8";
22   src = fetchFromGitHub {
23     owner = "danielperna84";
24     repo = "ha-philipsjs";
25     rev = "refs/tags/${version}";
26     hash = "sha256-zP8cuXdhvCDvnbc20GbFwgickdqeJ17b0vk0zK8ze9Q=";
27   };
29   build-system = [ setuptools ];
31   dependencies = [
32     cryptography
33     httpx
34   ];
36   nativeCheckInputs = [
37     pytest-aiohttp
38     pytest-mock
39     pytestCheckHook
40     respx
41   ];
43   pythonImportsCheck = [ "haphilipsjs" ];
45   meta = with lib; {
46     description = "Library to interact with Philips TVs with jointSPACE API";
47     homepage = "https://github.com/danielperna84/ha-philipsjs";
48     changelog = "https://github.com/danielperna84/ha-philipsjs/releases/tag/${version}";
49     license = licenses.mit;
50     maintainers = with maintainers; [ fab ];
51   };