about summary refs log tree commit diff
path: root/pkgs/by-name/ar
diff options
context:
space:
mode:
authorrucadi2024-05-17 18:59:12 +0200
committerJohn Titor2024-07-31 23:32:04 +0530
commitbe9f031dac810b424b10956617b389df4526ed96 (patch)
tree5fcd77812a7071e54848470074cea68538e28121 /pkgs/by-name/ar
parent8089a08b9dbe3d90344286be284d9e7a86140cb2 (diff)
ares-cli: init at 3.1.1
Co-authored-by: Gabriel Fontes <hi@m7.rs>

Updated the package to 3.1.1
Removed meta.platforms as this is set by buildNpmPackage

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
Diffstat (limited to 'pkgs/by-name/ar')
-rw-r--r--pkgs/by-name/ar/ares-cli/package.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/by-name/ar/ares-cli/package.nix b/pkgs/by-name/ar/ares-cli/package.nix
new file mode 100644
index 000000000000..9f602db97def
--- /dev/null
+++ b/pkgs/by-name/ar/ares-cli/package.nix
@@ -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 ];
+  };
+}