Something went wrong. Try again.
lol
Something went wrong. Try again.
1.3 kB · 65 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566{ lib, buildPythonPackage, home-assistant-chip-wheels, coloredlogs, construct, cryptography, dacite, deprecation, ipdb, pyyaml, rich,}:
buildPythonPackage rec { pname = "home-assistant-chip-core"; inherit (home-assistant-chip-wheels) version; format = "wheel";
src = home-assistant-chip-wheels;
# format=wheel needs src to be a wheel not a folder of wheels preUnpack = '' src=($src/home_assistant_chip_core*.whl) '';
dependencies = [ coloredlogs construct cryptography dacite rich pyyaml ipdb deprecation ];
# only used for testing purposes, unsafe to use in production pythonRemoveDeps = [ "ecdsa" ];
pythonNamespaces = [ "chip" "chip.clusters" ];
pythonImportsCheck = [ "chip" "chip.ble" "chip.configuration" "chip.discovery" "chip.exceptions" "chip.native" "chip.storage" ];
doCheck = false; # no tests
meta = { description = "Python-base APIs and tools for CHIP"; homepage = "https://github.com/home-assistant-libs/chip-wheels"; changelog = "https://github.com/home-assistant-libs/chip-wheels/releases/tag/${version}"; license = lib.licenses.asl20; teams = [ lib.teams.home-assistant ]; };}