9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
40 lines
900 B
Nix
40 lines
900 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, aenum
|
|
, dacite
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "home-assistant-chip-clusters";
|
|
version = "2023.6.0";
|
|
format = "wheel";
|
|
|
|
src = fetchPypi {
|
|
inherit format version;
|
|
pname = "home_assistant_chip_clusters";
|
|
dist = "py3";
|
|
python = "py3";
|
|
hash = "sha256-8LYB3BEDHOj6ItfFRK7ewbhjN604xXKY0YlymNjEO+g=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
aenum
|
|
dacite
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"chip.clusters"
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|