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:
parent
1737d9fa7d
commit
62d6e3ed9c
|
@ -26,6 +26,8 @@
|
|||
|
||||
mushroom = callPackage ./mushroom { };
|
||||
|
||||
rmv-card = callPackage ./rmv-card { };
|
||||
|
||||
valetudo-map-card = callPackage ./valetudo-map-card { };
|
||||
|
||||
zigbee2mqtt-networkmap = callPackage ./zigbee2mqtt-networkmap { };
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue