-
-
Notifications
You must be signed in to change notification settings - Fork 14k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
pkgs/servers/home-assistant/custom-lovelace-modules/bubble-card/default.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ lib | ||
, stdenv | ||
, fetchFromGitHub | ||
}: | ||
|
||
stdenv.mkDerivation rec { | ||
name = "bubble-card"; | ||
version = "2.2.4"; | ||
|
||
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 ]; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters