From patchwork Tue Mar 30 05:27:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Timothy Sample X-Patchwork-Id: 28186 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 A7F2527BC64; Tue, 30 Mar 2021 06:29:23 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6BFDF27BC63 for ; Tue, 30 Mar 2021 06:29:23 +0100 (BST) Received: from localhost ([::1]:53066 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lR6wM-0001B3-HU for patchwork@mira.cbaines.net; Tue, 30 Mar 2021 01:29:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lR6w4-0000is-Rw for guix-patches@gnu.org; Tue, 30 Mar 2021 01:29:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38535) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lR6w4-0000Zx-Kq for guix-patches@gnu.org; Tue, 30 Mar 2021 01:29:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lR6w4-0005js-HS for guix-patches@gnu.org; Tue, 30 Mar 2021 01:29:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47282] [PATCH v2 06/13] gnu: Add node-ms-bootstrap. Resent-From: Timothy Sample Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 30 Mar 2021 05:29:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47282 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47282@debbugs.gnu.org Cc: Jelle Licht Received: via spool by 47282-submit@debbugs.gnu.org id=B47282.161708212121930 (code B ref 47282); Tue, 30 Mar 2021 05:29:04 +0000 Received: (at 47282) by debbugs.gnu.org; 30 Mar 2021 05:28:41 +0000 Received: from localhost ([127.0.0.1]:50056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lR6vh-0005hc-F6 for submit@debbugs.gnu.org; Tue, 30 Mar 2021 01:28:41 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:57023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lR6vd-0005h3-OQ for 47282@debbugs.gnu.org; Tue, 30 Mar 2021 01:28:38 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A90BC5C017D; Tue, 30 Mar 2021 01:28:32 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 30 Mar 2021 01:28:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=Cqtrim9K16Jr9mv9ZR+7pEL6tTOrB9/ldvBJPcSSq4c=; b=trCwl+1t IW1MaWd+UdlYp/i2wR1NS9SKjd476V1fjtxtqO3xJBYhHfjNUrwYvlYkhXngpSmZ RHqkr1iZcilxY13o8CU/GiE8R6eUit57SvfrViagz1ZaQUd30ZSKZVlsu7eeJfpP EYFYhEsyIGPdORIO5So/ea+QnvGUSkSXgOe3EcXzIXFPqRkdrzeK6h4oRLBOCyqY UGBVU3qJ1DfIHHyiB4n3MF92VTYRjyL7zJhMgQGzqhDCwON2fZlRquGQdxKrehwp n++ifQ2p9H+MlDeWpli9BpvLjbbJsyX2V6WdVlmFys4Efc2wGQe8nQopm6/0/f/L 5ZP7ivWcv5P52w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudehledgleekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvihhmohht hhihucfurghmphhlvgcuoehsrghmphhlvghtsehnghihrhhordgtohhmqeenucggtffrrg htthgvrhhnpedvteeitdevhffhgfdugefggffghfduveehfeeuleevvddujeeghfeuleek hfehffenucffohhmrghinhepshgvmhhvvghrrdhorhhgpdhgihhthhhusgdrtghomhenuc fkphepjeegrdduudeirddukeeirdeggeenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehsrghmphhlvghtsehnghihrhhordgtohhm X-ME-Proxy: Received: from mrblack.lan (74-116-186-44.qc.dsl.ebox.net [74.116.186.44]) by mail.messagingengine.com (Postfix) with ESMTPA id 71A8C24005B; Tue, 30 Mar 2021 01:28:32 -0400 (EDT) From: Timothy Sample Date: Tue, 30 Mar 2021 01:27:36 -0400 Message-Id: <20210330052743.575-6-samplet@ngyro.com> X-Mailer: git-send-email 2.31.0 In-Reply-To: <87k0pprz6n.fsf@ngyro.com> References: <87k0pprz6n.fsf@ngyro.com> MIME-Version: 1.0 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" X-getmail-retrieved-from-mailbox: Patches From: Jelle Licht * gnu/packages/node.scm (node-ms-bootstrap): New variable. --- gnu/packages/node.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm index 773cef3716..1d17502df7 100644 --- a/gnu/packages/node.scm +++ b/gnu/packages/node.scm @@ -31,8 +31,10 @@ #:use-module (guix packages) #:use-module (guix derivations) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system gnu) + #:use-module (guix build-system node) #:use-module (gnu packages) #:use-module (gnu packages adns) #:use-module (gnu packages base) @@ -246,6 +248,34 @@ devices.") @uref{https://semver.org/, SemVer.org} specification.") (license license:isc))) +(define-public node-ms-bootstrap + (package + (name "node-ms") + (version "2.1.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vercel/ms.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1pjxzbi4j8pinlsc7yxvfrh0b47kb2dc4lfc2rjq4wx5bdwl33fj")))) + (build-system node-build-system) + (arguments + `(#:node ,node-bootstrap + #:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure)))) + (home-page "https://github.com/zeit/ms#readme") + (properties '((hidden? . #t))) + (synopsis "Tiny millisecond conversion utility") + (description "Use this package to easily convert various time +formats to milliseconds.") + (license license:expat))) + (define-public libnode (package/inherit node (name "libnode")