1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 11:10:03 +00:00

home-assistant-custom-lovelace-modules.rmv-card: init

Custom card for the RMV component.
This commit is contained in:
Martin Weinelt 2024-07-29 19:04:43 +02:00
parent 1737d9fa7d
commit 62d6e3ed9c
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 41 additions and 0 deletions

View file

@ -26,6 +26,8 @@
mushroom = callPackage ./mushroom { };
rmv-card = callPackage ./rmv-card { };
valetudo-map-card = callPackage ./valetudo-map-card { };
zigbee2mqtt-networkmap = callPackage ./zigbee2mqtt-networkmap { };

View file

@ -0,0 +1,39 @@
{
lib,
stdenv,
fetchFromGitHub,
unstableGitUpdater,
}:
stdenv.mkDerivation {
pname = "rmv-card";
version = "0-unstable-2023-10-09";
src = fetchFromGitHub {
owner = "custom-cards";
repo = "rmv-card";
rev = "b0b2af1565bb69b8d304285cae163cb15883c9ab";
hash = "sha256-9chkS4wqkeNqeYGWdG00bwJOdDbsI+9VwWWfH+5TJoY=";
};
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir $out
cp rmv-card.js $out/
runHook postInstall
'';
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
description = "Custom card for the RMV component";
homepage = "https://github.com/custom-cards/rmv-card";
license = licenses.asl20;
maintainers = with maintainers; [ hexa ];
platforms = platforms.all;
};
}