mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
home-assistant-custom-lovelace-modules.bubble-card: 2.4.0 -> 3.0.0-beta.9
https://github.com/Clooos/bubble-card/releases/tag/v3.0.0-beta.9
This commit is contained in:
parent
9dd76978b8
commit
c1a93f9e7a
1 changed files with 13 additions and 9 deletions
|
@ -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
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue