Skip to content

Commit

Permalink
bubble-card: init at 2.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
pta2002 committed Oct 31, 2024
1 parent 92b5f1a commit a6b938f
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 a6b938f

Please sign in to comment.