2024-05-17 18:59:12 +02:00
|
|
|
{
|
|
|
|
|
lib,
|
|
|
|
|
buildNpmPackage,
|
|
|
|
|
fetchFromGitHub,
|
|
|
|
|
nix-update-script,
|
|
|
|
|
}:
|
|
|
|
|
buildNpmPackage rec {
|
|
|
|
|
pname = "ares-cli";
|
2025-04-17 15:12:14 +00:00
|
|
|
version = "3.2.1";
|
2024-05-17 18:59:12 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
|
owner = "webos-tools";
|
|
|
|
|
repo = "cli";
|
2025-04-08 02:51:45 -04:00
|
|
|
rev = "v${version}";
|
2025-04-17 15:12:14 +00:00
|
|
|
hash = "sha256-L8suZDtXVchVyvp7KCv0UaceJqqGBdfopd5tZzwj3MY=";
|
2024-05-17 18:59:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
|
ln -s npm-shrinkwrap.json package-lock.json
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
dontNpmBuild = true;
|
2025-04-17 15:12:14 +00:00
|
|
|
npmDepsHash = "sha256-ATIxe/sulfOpz5KiWauDAPZrlfUOFyiTa+5ECFbVd+0=";
|
2024-05-17 18:59:12 +02:00
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
|
homepage = "https://webostv.developer.lge.com/develop/tools/cli-introduction";
|
2025-06-05 09:11:29 -07:00
|
|
|
description = "Collection of commands used for creating, packaging, installing, and launching web apps for LG webOS TV";
|
2024-05-17 18:59:12 +02:00
|
|
|
longDescription = ''
|
|
|
|
|
webOS CLI (Command Line Interface) provides a collection of commands used for creating, packaging, installing,
|
|
|
|
|
and launching web apps in the command line environment. The CLI allows you to develop and test your app without using
|
|
|
|
|
a specific IDE.
|
|
|
|
|
'';
|
|
|
|
|
mainProgram = "ares";
|
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
|
maintainers = with lib.maintainers; [ rucadi ];
|
|
|
|
|
};
|
|
|
|
|
}
|