home-assistant-custom-lovelace-modules.universal-remote-card: 3.9.4 -> 4.0.0, rename (#339743)

authored by Martin Weinelt and committed by GitHub 13fd6698 3ae7b715

+50 -42
-39
pkgs/servers/home-assistant/custom-lovelace-modules/android-tv-card/default.nix
··· 1 - { lib 2 - , buildNpmPackage 3 - , fetchFromGitHub 4 - }: 5 - 6 - buildNpmPackage rec { 7 - pname = "android-tv-card"; 8 - version = "3.9.4"; 9 - 10 - src = fetchFromGitHub { 11 - owner = "Nerwyn"; 12 - repo = "android-tv-card"; 13 - rev = version; 14 - hash = "sha256-I50WNH/OL7O6YrZ0yf+uPJc05STJrjP8DS/wfaSBTHU="; 15 - }; 16 - 17 - patches = [ ./dont-call-git.patch ]; 18 - 19 - npmDepsHash = "sha256-cuc7+QziclvJWp7MncLjkzfub5UbWYPVoUC/DZfs38g="; 20 - 21 - installPhase = '' 22 - runHook preInstall 23 - 24 - mkdir $out 25 - cp dist/android-tv-card.min.js $out 26 - 27 - runHook postInstall 28 - ''; 29 - 30 - passthru.entrypoint = "android-tv-card.min.js"; 31 - 32 - meta = with lib; { 33 - description = "Universal Customizable TV Remote Card, with HA actions, super configurable touchpad, slider, haptics, and keyboard"; 34 - homepage = "https://github.com/Nerwyn/android-tv-card"; 35 - license = licenses.asl20; 36 - maintainers = with maintainers; [ k900 ]; 37 - platforms = platforms.all; 38 - }; 39 - }
pkgs/servers/home-assistant/custom-lovelace-modules/android-tv-card/dont-call-git.patch pkgs/servers/home-assistant/custom-lovelace-modules/universal-remote-card/dont-call-git.patch
+11 -3
pkgs/servers/home-assistant/custom-lovelace-modules/default.nix
··· 1 - { callPackage 1 + { 2 + lib, 3 + pkgs, 4 + callPackage, 2 5 }: 3 6 4 7 { 5 - android-tv-card = callPackage ./android-tv-card { }; 6 - 7 8 apexcharts-card = callPackage ./apexcharts-card { }; 8 9 9 10 atomic-calendar-revive = callPackage ./atomic-calendar-revive { }; ··· 32 33 33 34 template-entity-row = callPackage ./template-entity-row { }; 34 35 36 + universal-remote-card = callPackage ./universal-remote-card { }; 37 + 35 38 valetudo-map-card = callPackage ./valetudo-map-card { }; 36 39 37 40 zigbee2mqtt-networkmap = callPackage ./zigbee2mqtt-networkmap { }; 38 41 } 42 + // lib.optionalAttrs pkgs.config.allowAliases { 43 + android-tv-card = 44 + lib.warn "`home-assistant-custom-lovelace-modules.android-tv-card` has been renamed to `universal-remote-card`" 45 + pkgs.home-assistant-custom-lovelace-modules.universal-remote-card; 46 + }
+39
pkgs/servers/home-assistant/custom-lovelace-modules/universal-remote-card/default.nix
··· 1 + { lib 2 + , buildNpmPackage 3 + , fetchFromGitHub 4 + }: 5 + 6 + buildNpmPackage rec { 7 + pname = "universal-remote-card"; 8 + version = "4.0.0"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "Nerwyn"; 12 + repo = "android-tv-card"; 13 + rev = version; 14 + hash = "sha256-vQfXsEMYPga816X8eGYdjgpou38KfMtLcKjIGkT25xU="; 15 + }; 16 + 17 + patches = [ ./dont-call-git.patch ]; 18 + 19 + npmDepsHash = "sha256-lFpgO/5JEmnl1wXLuy/OqncxPSx96BTydbprGEN+feM="; 20 + 21 + installPhase = '' 22 + runHook preInstall 23 + 24 + mkdir $out 25 + cp dist/universal-remote-card.min.js $out 26 + 27 + runHook postInstall 28 + ''; 29 + 30 + passthru.entrypoint = "universal-remote-card.min.js"; 31 + 32 + meta = with lib; { 33 + description = "Completely customizable universal remote card for Home Assistant. Supports multiple platforms out of the box"; 34 + homepage = "https://github.com/Nerwyn/android-tv-card"; 35 + license = licenses.asl20; 36 + maintainers = with maintainers; [ k900 ]; 37 + platforms = platforms.all; 38 + }; 39 + }