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,
stdenv,
buildNpmPackage,
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
buildNpmPackage rec {
pname = "bubble-card";
version = "2.4.0";
dontBuild = true;
version = "3.0.0-beta.9";
src = fetchFromGitHub {
owner = "Clooos";
repo = "Bubble-Card";
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 = ''
runHook preInstall
mkdir $out
install -m0644 dist/bubble-card.js $out
install -m0644 dist/bubble-pop-up-fix.js $out
cp -rv dist $out
runHook postInstall
'';