Unverified Commit b0dce8fe authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

home-assistant-lovelace-components.bubble-card: init at 2.2.4 (#352588)

parents 7eee04bb a6b938fe
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -17596,6 +17596,12 @@
    githubId = 43755002;
    name = "Dmitriy P";
  };
  pta2002 = {
    email = "pta2002@pta2002.com";
    github = "pta2002";
    githubId = 7443916;
    name = "Pedro Alves";
  };
  ptival = {
    email = "valentin.robert.42@gmail.com";
    github = "Ptival";
+37 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
}:

stdenv.mkDerivation rec {
  pname = "bubble-card";
  version = "2.2.4";

  dontBuild = true;

  src = fetchFromGitHub {
    owner = "Clooos";
    repo = "Bubble-Card";
    rev = "v${version}";
    hash = "sha256-vsgu1hvtlppADvaFLeB4xQHbP3wBc6H4p5HbeS3JY80=";
  };

  installPhase = ''
    runHook preInstall

    mkdir $out
    install -m0644 dist/bubble-card.js $out
    install -m0644 dist/bubble-pop-up-fix.js $out

    runHook postInstall
  '';

  meta = with lib; {
    changelog = "https://github.com/Clooos/bubble-card/releases/tag/v${version}";
    description = "Bubble Card is a minimalist card collection for Home Assistant with a nice pop-up touch.";
    homepage = "https://github.com/Clooos/Bubble-Card";
    license = licenses.mit;
    maintainers = with maintainers; [ pta2002 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -9,6 +9,8 @@

  atomic-calendar-revive = callPackage ./atomic-calendar-revive { };

  bubble-card = callPackage ./bubble-card { };

  button-card = callPackage ./button-card { };

  card-mod = callPackage ./card-mod { };