Skip to content

Commit

Permalink
home-assistant-lovelace-components.bubble-card: init at 2.2.4 (#352588)
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt authored Oct 31, 2024
2 parents 7eee04b + a6b938f commit b0dce8f
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
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 ];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit b0dce8f

Please sign in to comment.