Merge pull request #312465 from Rucadi/ares-cli

ares-cli: init at 3.1.1
This commit is contained in:
Masum Reza 2024-08-01 02:05:34 +05:30 committed by GitHub
commit 7a66b67d9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,38 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
nix-update-script,
}:
buildNpmPackage rec {
pname = "ares-cli";
version = "3.1.1";
src = fetchFromGitHub {
owner = "webos-tools";
repo = "cli";
rev = "v${version}";
hash = "sha256-gMAGMg/hobV8WhqutDmYBjqjZqfAdw+EoJX7j8pux18=";
};
postPatch = ''
ln -s npm-shrinkwrap.json package-lock.json
'';
dontNpmBuild = true;
npmDepsHash = "sha256-3ZUlGJY0aEf7wBig75txlkA6a6JcdkphJILFfIGIN04=";
passthru.updateScript = nix-update-script { };
meta = {
homepage = "https://webostv.developer.lge.com/develop/tools/cli-introduction";
description = "A collection of commands used for creating, packaging, installing, and launching web apps for LG webOS TV.";
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 ];
};
}