lovelace-simple-weather-card: init at 0.8.5

This commit is contained in:
Jordan Holt 2025-01-26 23:22:43 +00:00
parent 352ceb0255
commit 885b846798
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520

View File

@ -0,0 +1,38 @@
{
lib,
buildNpmPackage,
fetchFromGitea,
}:
buildNpmPackage rec {
pname = "simple-weather-card";
version = "v0.8.5";
src = fetchFromGitea {
domain = "git.vimium.com";
owner = "jordan";
repo = "simple-weather-card";
rev = version;
hash = "sha256-/4iIUKP8TRJIUWKbqI8n6tWxkTXMWktVUbAQvGoaeZ0=";
};
npmDepsHash = "sha256-pKMi+cN3fTT3/35BeExI7CCFwgTjEhvIoIt2YPi08Os=";
installPhase = ''
runHook preInstall
mkdir $out
install -m0644 dist/simple-weather-card-bundle.js $out
runHook postInstall
'';
passthru.entrypoint = "simple-weather-card-bundle.js";
meta = with lib; {
description = "Minimalistic weather card for Home Assistant";
homepage = "https://github.com/kalkih/simple-weather-card";
license = licenses.mit;
maintainers = [ ];
};
}