evcc: 0.131.8 -> 0.131.10 (#364658)
[NixPkgs.git] / pkgs / development / python-modules / home-assistant-chip-core / default.nix
blob229f6867d38c0ab55dc26b5a17e88fd18bbd60b1
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   aenum,
6   home-assistant-chip-wheels,
7   coloredlogs,
8   construct,
9   cryptography,
10   dacite,
11   deprecation,
12   ecdsa,
13   ipdb,
14   mobly,
15   pygobject3,
16   pyyaml,
17   rich,
20 buildPythonPackage rec {
21   pname = "home-assistant-chip-core";
22   inherit (home-assistant-chip-wheels) version;
23   format = "wheel";
25   disabled = pythonOlder "3.7";
27   src = home-assistant-chip-wheels;
29   # format=wheel needs src to be a wheel not a folder of wheels
30   preUnpack = ''
31     src=($src/home_assistant_chip_core*.whl)
32   '';
34   propagatedBuildInputs = [
35     aenum
36     coloredlogs
37     construct
38     cryptography
39     dacite
40     ecdsa
41     rich
42     pyyaml
43     ipdb
44     deprecation
45     mobly
46     pygobject3
47   ] ++ home-assistant-chip-wheels.propagatedBuildInputs;
49   pythonNamespaces = [
50     "chip"
51     "chip.clusters"
52   ];
54   pythonImportsCheck = [
55     "chip"
56     "chip.ble"
57     "chip.configuration"
58     "chip.discovery"
59     "chip.exceptions"
60     "chip.native"
61     "chip.storage"
62   ];
64   doCheck = false; # no tests
66   meta = with lib; {
67     description = "Python-base APIs and tools for CHIP";
68     homepage = "https://github.com/home-assistant-libs/chip-wheels";
69     changelog = "https://github.com/home-assistant-libs/chip-wheels/releases/tag/${version}";
70     license = licenses.asl20;
71     maintainers = teams.home-assistant.members;
72   };