evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / development / python-modules / home-assistant-chip-clusters / default.nix
blob6d54eb16104c45cf79b0e0b4b8038423ab52b3d1
2   lib,
3   buildPythonPackage,
4   home-assistant-chip-wheels,
5   aenum,
6   dacite,
7 }:
9 buildPythonPackage rec {
10   pname = "home-assistant-chip-clusters";
11   inherit (home-assistant-chip-wheels) version;
12   format = "wheel";
14   src = home-assistant-chip-wheels;
16   # format=wheel needs src to be a wheel not a folder of wheels
17   preUnpack = ''
18     src=($src/home_assistant_chip_clusters*.whl)
19   '';
21   propagatedBuildInputs = [
22     aenum
23     dacite
24   ];
26   pythonImportsCheck = [
27     "chip.clusters"
28     "chip.clusters.ClusterObjects"
29     "chip.tlv"
30   ];
32   doCheck = false; # no tests
34   meta = with lib; {
35     description = "Python-base APIs and tools for CHIP";
36     homepage = "https://github.com/home-assistant-libs/chip-wheels";
37     changelog = "https://github.com/home-assistant-libs/chip-wheels/releases/tag/${version}";
38     license = licenses.asl20;
39     maintainers = teams.home-assistant.members;
40   };