home-assistant-custom-lovelace-modules.bubble-card: 2.4.0 -> 3.0.0-beta.9 (#414812)

This commit is contained in:
Emily 2025-06-08 18:20:06 +02:00 committed by GitHub
commit 0398fcb0e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,28 +1,32 @@
{ {
lib, lib,
stdenv, buildNpmPackage,
fetchFromGitHub, fetchFromGitHub,
}: }:
stdenv.mkDerivation rec { buildNpmPackage rec {
pname = "bubble-card"; pname = "bubble-card";
version = "2.4.0"; version = "3.0.0-beta.9";
dontBuild = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Clooos"; owner = "Clooos";
repo = "Bubble-Card"; repo = "Bubble-Card";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-Hn6jH7lT+bjkOM/iRCmD1B8l6ZRqjNTmVMj4IN7ixE4="; hash = "sha256-UgfbItYBaSiNvl3zmRrS3p/b22XwptCdIf7mA42rGXM=";
}; };
npmDepsHash = "sha256-NSHsw/+dmdc2+yo4/NgT0YMMrCuL8JjRR6MSJ5xQTiE=";
preBuild = ''
rm -rf dist
'';
npmBuildScript = "dist";
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
mkdir $out cp -rv dist $out
install -m0644 dist/bubble-card.js $out
install -m0644 dist/bubble-pop-up-fix.js $out
runHook postInstall runHook postInstall
''; '';