blob: 2bead7d12330dcf904a8443f13be55742eab6a32 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
lib,
buildNpmPackage,
fetchFromGitHub,
}:
buildNpmPackage rec {
pname = "universal-remote-card";
version = "4.3.12";
src = fetchFromGitHub {
owner = "Nerwyn";
repo = "android-tv-card";
rev = version;
hash = "sha256-93qPYFr7qNDlQH28dT461EQjWKZJOpL3EpfBBGt4acw=";
};
patches = [ ./dont-call-git.patch ];
npmDepsHash = "sha256-xr8Cd+icpUNWxUPCfHYQfCr5Z39y2m628Q4qlDp3bRg=";
installPhase = ''
runHook preInstall
mkdir $out
cp dist/universal-remote-card.min.js $out
runHook postInstall
'';
passthru.entrypoint = "universal-remote-card.min.js";
meta = with lib; {
description = "Completely customizable universal remote card for Home Assistant. Supports multiple platforms out of the box";
homepage = "https://github.com/Nerwyn/android-tv-card";
license = licenses.asl20;
maintainers = with maintainers; [ k900 ];
platforms = platforms.all;
};
}
|