c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
42 lines
950 B
Nix
42 lines
950 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, aenum
|
|
, dacite
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "home-assistant-chip-clusters";
|
|
version = "2024.2.1";
|
|
format = "wheel";
|
|
|
|
src = fetchPypi {
|
|
inherit format version;
|
|
pname = "home_assistant_chip_clusters";
|
|
dist = "py3";
|
|
python = "py3";
|
|
hash = "sha256-QMsfs9gUWeaz1LfMZF5J2OFVCPnuckZvvF9x5bQ5uZY=";
|
|
};
|
|
|
|
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;
|
|
maintainers = teams.home-assistant.members;
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
|
};
|
|
}
|