Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 74 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475{ lib, buildPythonPackage, pythonOlder, aenum, home-assistant-chip-wheels, coloredlogs, construct, cryptography, dacite, deprecation, ecdsa, ipdb, mobly, pygobject3, pyyaml, rich,}:
buildPythonPackage rec { pname = "home-assistant-chip-core"; inherit (home-assistant-chip-wheels) version; format = "wheel";
disabled = pythonOlder "3.7";
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) '';
propagatedBuildInputs = [ aenum coloredlogs construct cryptography dacite ecdsa rich pyyaml ipdb deprecation mobly pygobject3 ] ++ home-assistant-chip-wheels.propagatedBuildInputs;
pythonNamespaces = [ "chip" "chip.clusters" ];
pythonImportsCheck = [ "chip" "chip.ble" "chip.configuration" "chip.discovery" "chip.exceptions" "chip.native" "chip.storage" ];
doCheck = false; # no tests
meta = with lib; { 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 = licenses.asl20; teams = [ teams.home-assistant ]; };}