python312Packages.dash-renderer: remove (#369714)
[NixPkgs.git] / pkgs / development / python-modules / hass-nabucasa / default.nix
blobee46fd1ecdbd93a2b9726d9431f802d9315b9251
2   lib,
3   acme,
4   aiohttp,
5   atomicwrites-homeassistant,
6   attrs,
7   buildPythonPackage,
8   ciso8601,
9   cryptography,
10   fetchFromGitHub,
11   pycognito,
12   pyjwt,
13   pytest-aiohttp,
14   pytest-timeout,
15   pytestCheckHook,
16   pythonOlder,
17   setuptools,
18   snitun,
19   syrupy,
20   webrtc-models,
21   xmltodict,
24 buildPythonPackage rec {
25   pname = "hass-nabucasa";
26   version = "0.87.0";
27   pyproject = true;
29   disabled = pythonOlder "3.12";
31   src = fetchFromGitHub {
32     owner = "nabucasa";
33     repo = "hass-nabucasa";
34     tag = version;
35     hash = "sha256-V9iP/YRvxsdpYLqcRHSIULlOPQKq5fkouUXTNNeF0FY=";
36   };
38   pythonRelaxDeps = [ "acme" ];
40   build-system = [ setuptools ];
42   dependencies = [
43     acme
44     aiohttp
45     atomicwrites-homeassistant
46     attrs
47     ciso8601
48     cryptography
49     pycognito
50     pyjwt
51     snitun
52     webrtc-models
53   ];
55   nativeCheckInputs = [
56     pytest-aiohttp
57     pytest-timeout
58     pytestCheckHook
59     syrupy
60     xmltodict
61   ];
63   pythonImportsCheck = [ "hass_nabucasa" ];
65   meta = with lib; {
66     description = "Python module for the Home Assistant cloud integration";
67     homepage = "https://github.com/NabuCasa/hass-nabucasa";
68     changelog = "https://github.com/NabuCasa/hass-nabucasa/releases/tag/${version}";
69     license = licenses.gpl3Only;
70     maintainers = with maintainers; [ Scriptkiddi ];
71   };