Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 aenum, 6 dacite, 7}: 8 9buildPythonPackage rec { 10 pname = "home-assistant-chip-clusters"; 11 version = "2024.3.2"; 12 format = "wheel"; 13 14 src = fetchPypi { 15 inherit format version; 16 pname = "home_assistant_chip_clusters"; 17 dist = "py3"; 18 python = "py3"; 19 hash = "sha256-Imdpqy7m81oxfkzj+82afSX9juK/SOCBIMoaPjK8G+Y="; 20 }; 21 22 propagatedBuildInputs = [ 23 aenum 24 dacite 25 ]; 26 27 pythonImportsCheck = [ 28 "chip.clusters" 29 "chip.clusters.ClusterObjects" 30 "chip.tlv" 31 ]; 32 33 doCheck = false; # no tests 34 35 meta = with lib; { 36 description = "Python-base APIs and tools for CHIP"; 37 homepage = "https://github.com/home-assistant-libs/chip-wheels"; 38 changelog = "https://github.com/home-assistant-libs/chip-wheels/releases/tag/${version}"; 39 license = licenses.asl20; 40 maintainers = teams.home-assistant.members; 41 sourceProvenance = with sourceTypes; [ binaryNativeCode ]; 42 }; 43}