all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#67681] [PATCH] gnu: Add node-commander.
@ 2023-12-07  8:29 Rikard Nordgren
  2024-01-04  3:31 ` Maxim Cournoyer
  0 siblings, 1 reply; 4+ messages in thread
From: Rikard Nordgren @ 2023-12-07  8:29 UTC (permalink / raw)
  To: 67681; +Cc: hrn

* gnu/packages/node-xyz.scm (node-commander): New variable.

Change-Id: I5b00861705d64e0e89da81acee833e145287bd66
---
 gnu/packages/node-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 6c16417309..8486d121dd 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -155,6 +155,44 @@ (define-public node-color-name
      "This package provides a JSON list with color names and their values.")
     (license license:expat)))
 
+(define-public node-commander
+  (package
+    (name "node-commander")
+    (version "11.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/tj/commander.js")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1xwh85kbxj76ni41r2h0apl8mjbfcnmxzzp3vlspq30w8kwfckni"))))
+    (build-system node-build-system)
+    (arguments
+     '(#:tests? #f
+       #:phases (modify-phases %standard-phases
+                  (add-after 'patch-dependencies 'delete-dependencies
+                    (lambda _
+                      (delete-dependencies '("@types/jest" "@types/node"
+                                             "@typescript-eslint/eslint-plugin"
+                                             "@typescript-eslint/parser"
+                                             "eslint"
+                                             "eslint-config-standard"
+                                             "eslint-config-standard-with-typescript"
+                                             "eslint-plugin-import"
+                                             "eslint-plugin-jest"
+                                             "eslint-plugin-n"
+                                             "eslint-plugin-promise"
+                                             "jest"
+                                             "ts-jest"
+                                             "tsd"
+                                             "typescript")))))))
+    (home-page "https://github.com/tj/commander.js")
+    (synopsis "Command line interface for node.js")
+    (description "The complete solution for node.js command-line interfaces.")
+    (license license:expat)))
+
 (define-public node-crx3
   (package
     (name "node-crx3")

base-commit: 23627b1706af25a0a30b96b9169a3495279aff1b
-- 
2.34.1





^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-06 19:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-07  8:29 [bug#67681] [PATCH] gnu: Add node-commander Rikard Nordgren
2024-01-04  3:31 ` Maxim Cournoyer
2024-01-04 17:20   ` hrn
2024-01-06 19:05     ` Maxim Cournoyer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.