Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
42 lines
897 B
Nix
42 lines
897 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
home-assistant-chip-wheels,
|
|
aenum,
|
|
dacite,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "home-assistant-chip-clusters";
|
|
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_clusters*.whl)
|
|
'';
|
|
|
|
propagatedBuildInputs = [
|
|
aenum
|
|
dacite
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"chip.clusters"
|
|
"chip.clusters.ClusterObjects"
|
|
"chip.tlv"
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|