Unverified Commit e5a679a7 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

home-assistant-custom-components.auto-entities: 1.16.1 -> 2.0.0, switch to fork (#492234)

parents 5b983c9f 6f08f570
Loading
Loading
Loading
Loading
+11 −8
Original line number Diff line number Diff line
@@ -6,30 +6,33 @@

buildNpmPackage rec {
  pname = "auto-entities";
  version = "1.16.1";
  version = "2.0.0";

  src = fetchFromGitHub {
    owner = "thomasloven";
    owner = "Lint-Free-Technology";
    repo = "lovelace-auto-entities";
    tag = "v${version}";
    hash = "sha256-yMqf4LA/fBTIrrYwacUTb2fL758ZB1k471vdsHAiOj8=";
    hash = "sha256-W6D9z4D00wIVmrUo9KFlttK2k013kHbWXKwbyh9bsLY=";
  };

  npmDepsHash = "sha256-XLhTLK08zW1BFj/PI8/61FWzoyvWi5X5sEkGlF1IuZU=";
  npmDepsHash = "sha256-H9Mt5lBZAZwkGfPSRlbgPaqHETWxI7Wge7zEPLcdvgE=";

  installPhase = ''
    runHook preInstall

    install -D auto-entities.js $out/auto-entities.js
    install -D dist/auto-entities.js $out/auto-entities.js

    runHook postInstall
  '';

  meta = {
    description = "Automatically populate the entities-list of lovelace cards";
    homepage = "https://github.com/thomasloven/lovelace-auto-entities";
    changelog = "https://github.com/thomasloven/lovelace-auto-entities/releases/tag/v${version}";
    homepage = "https://github.com/Lint-Free-Technology/lovelace-auto-entities";
    changelog = "https://github.com/Lint-Free-Technology/lovelace-auto-entities/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ kranzes ];
    maintainers = with lib.maintainers; [
      kranzes
      SuperSandro2000
    ];
  };
}