diff --git a/flake.nix b/flake.nix index e89271d..c9efe99 100644 --- a/flake.nix +++ b/flake.nix @@ -200,49 +200,6 @@ google-chrome = super.google-chrome.override { commandLineArgs = [ "--password-store=gnome" "--force-dark-mode" ]; }; brave = super.brave.override { commandLineArgs = "--ozone-platform=wayland --enable-features=UseOzonePlatform,WebRTCPipeWireCapturer"; }; - # smartir-zha = super.buildHomeAssistantComponent rec { - # owner = "smartHomeHub"; - # domain = "smartir"; - # version = "04ac27e"; - - # src = super.fetchFromGitHub { - # owner = "bertof"; - # repo = "SmartIR"; - # rev = "6f8cac1"; - # hash = "sha256-Xb6tL33vdevT2cRI80cNf744lKBHJDhFYiG2NsOlzaQ="; - # }; - - # patcher = super.fetchurl { - # url = "https://gist.githubusercontent.com/svyatogor/7839d00303998a9fa37eb48494dd680f/raw/66cba20e653f84aab0b9a31ea5b9ca497d038d8a/broadlink_to_tuya.py"; - # sha256 = "0m5fbfvsq8sxm0ghs8al8b6z4vfycqkr90qb10w9c4ryag2flnsh"; - # }; - - # postPatch = '' - # # ${super.python312}/bin/python3 ${patcher} codes/climate/1946.json > codes/climate/50.json - # cp codes/climate/1946.json codes/climate/50.json - # sed -i 's/MQTT/ZHA/' codes/climate/50.json - # ''; - - # dependencies = [ - # super.python313Packages.aiofiles - # super.python313Packages.distutils - # ]; - - # postInstall = '' - # cp -r codes $out/custom_components/smartir/ - # ''; - - # passthru.updateScript = super.nix-update-script { }; - - # meta = with super.lib; { - # changelog = "https://github.com/smartHomeHub/SmartIR/releases/tag/v${version}"; - # description = "Integration for Home Assistant to control climate, TV and fan devices via IR/RF controllers (Broadlink, Xiaomi, MQTT, LOOKin, ESPHome)"; - # homepage = "https://github.com/smartHomeHub/SmartIR"; - # maintainers = with maintainers; [ azuwis ]; - # license = licenses.mit; - # }; - # }; - smartir-zha = super.home-assistant-custom-components.smartir.overrideAttrs (_attr: rec { version = "04ac27e"; src = super.fetchFromGitHub {