depot/third_party/nixpkgs/pkgs/development/python-modules/home-assistant-chip-clusters/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

43 lines
957 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
aenum,
dacite,
}:
buildPythonPackage rec {
pname = "home-assistant-chip-clusters";
version = "2024.5.2";
format = "wheel";
src = fetchPypi {
inherit format version;
pname = "home_assistant_chip_clusters";
dist = "py3";
python = "py3";
hash = "sha256-LP/Iw0dgm8TUws/SNUfg7b/OPIboCGB7JRiEwXNd+4A=";
};
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 ];
};
}