nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildNpmPackage,
4 fetchFromGitHub,
5 nix-update-script,
6 nodejs_22,
7}:
8
9buildNpmPackage rec {
10 pname = "ares-cli";
11 version = "3.2.1";
12 src = fetchFromGitHub {
13 owner = "webos-tools";
14 repo = "cli";
15 rev = "v${version}";
16 hash = "sha256-L8suZDtXVchVyvp7KCv0UaceJqqGBdfopd5tZzwj3MY=";
17 };
18
19 nodejs = nodejs_22;
20
21 dontNpmBuild = true;
22 npmDepsHash = "sha256-ATIxe/sulfOpz5KiWauDAPZrlfUOFyiTa+5ECFbVd+0=";
23
24 passthru.updateScript = nix-update-script { };
25
26 meta = {
27 homepage = "https://webostv.developer.lge.com/develop/tools/cli-introduction";
28 description = "Collection of commands used for creating, packaging, installing, and launching web apps for LG webOS TV";
29 longDescription = ''
30 webOS CLI (Command Line Interface) provides a collection of commands used for creating, packaging, installing,
31 and launching web apps in the command line environment. The CLI allows you to develop and test your app without using
32 a specific IDE.
33 '';
34 mainProgram = "ares";
35 license = lib.licenses.asl20;
36 maintainers = with lib.maintainers; [ rucadi ];
37 };
38}