From patchwork Wed Jul 20 10:16:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 40750 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DF93027BBEA; Wed, 20 Jul 2022 11:17:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 85C2127BBE9 for ; Wed, 20 Jul 2022 11:17:12 +0100 (BST) Received: from localhost ([::1]:36112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oE6lT-0002JD-M0 for patchwork@mira.cbaines.net; Wed, 20 Jul 2022 06:17:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oE6lK-0002J3-GJ for guix-patches@gnu.org; Wed, 20 Jul 2022 06:17:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58150) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oE6lK-0005cp-70 for guix-patches@gnu.org; Wed, 20 Jul 2022 06:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oE6lK-0007yo-2X for guix-patches@gnu.org; Wed, 20 Jul 2022 06:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55963] [PATCH] gnu: Add node-minimist. References: <20220614094954.15197-7-ngraves@ngraves.fr> In-Reply-To: <20220614094954.15197-7-ngraves@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Jul 2022 10:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55963 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55963@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 55963-submit@debbugs.gnu.org id=B55963.165831220730650 (code B ref 55963); Wed, 20 Jul 2022 10:17:02 +0000 Received: (at 55963) by debbugs.gnu.org; 20 Jul 2022 10:16:47 +0000 Received: from localhost ([127.0.0.1]:55909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oE6l5-0007yH-3h for submit@debbugs.gnu.org; Wed, 20 Jul 2022 06:16:47 -0400 Received: from 2.mo576.mail-out.ovh.net ([178.33.251.80]:58255) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oE6l2-0007y8-N8 for 55963@debbugs.gnu.org; Wed, 20 Jul 2022 06:16:45 -0400 Received: from player762.ha.ovh.net (unknown [10.111.208.131]) by mo576.mail-out.ovh.net (Postfix) with ESMTP id 5C0732493D for <55963@debbugs.gnu.org>; Wed, 20 Jul 2022 10:16:43 +0000 (UTC) Received: from ngraves.fr (unknown [176.166.159.77]) (Authenticated sender: ngraves@ngraves.fr) by player762.ha.ovh.net (Postfix) with ESMTPSA id D304F2CC2958C; Wed, 20 Jul 2022 10:16:40 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-97G0026ede2fd7-6114-4982-82b4-19f454a272e8, 129C31CF0BB9A5A41165496B287D5FC7981061FF) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 176.166.159.77 Date: Wed, 20 Jul 2022 12:16:36 +0200 Message-Id: <20220720101636.16252-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.0 MIME-Version: 1.0 X-Ovh-Tracer-Id: 15423421349907456738 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrudelvddgvdejucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepteeffefhfffhjeevleeuvdehgffgveekheeuhfekhfehuefgheffhedugfegleeinecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpudejiedrudeiiedrudehledrjeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejiedvrdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheehleeifeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejie X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves X-getmail-retrieved-from-mailbox: Patches * gnu/packages/node-xyz.scm (node-minimist): New variable. --- gnu/packages/node-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index f124e2ebfb..ff3bd9084f 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -207,6 +207,35 @@ (define-public node-mersenne random number generator.") (license license:bsd-3))) +(define-public node-minimist + (package + (name "node-minimist") + (version "1.2.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/substack/minimist") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0mxj40mygbiy530wskc8l28wxb6fv3f8vrhpwjgprymhpgbaac7d")))) + (build-system node-build-system) + (arguments + '(#:tests? #f + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs #:allow-other-keys) + (invoke "npm" "--offline" + "--ignore-scripts" "install" "--production")))))) + (home-page "https://github.com/substack/minimist") + (synopsis "Parse CLI arguments in Javascript") + (description "This package can scan for CLI flags and arguments in +Javascript.") + (license license:expat))) + (define-public node-oop ;; No releases, last commit was February 2013. (let ((commit "f9d87cda0958886955c14a0a716e57021ed295dc")