From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0I6qFA1bqGKxpQAAbAwnHQ (envelope-from ) for ; Tue, 14 Jun 2022 11:55:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iBZDFA1bqGIi5QAAauVa8A (envelope-from ) for ; Tue, 14 Jun 2022 11:55:25 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F38A29906 for ; Tue, 14 Jun 2022 11:55:24 +0200 (CEST) Received: from localhost ([::1]:49576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o13Gd-0002iP-PL for larch@yhetil.org; Tue, 14 Jun 2022 05:55:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o13CS-0000Dz-Kg for guix-patches@gnu.org; Tue, 14 Jun 2022 05:51:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39090) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o13CS-00024U-3t for guix-patches@gnu.org; Tue, 14 Jun 2022 05:51:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o13CS-0002uW-2w for guix-patches@gnu.org; Tue, 14 Jun 2022 05:51:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55962] [PATCH 6/9] gnu: Add node-pbf. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 14 Jun 2022 09:51:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55962 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55962@debbugs.gnu.org Cc: Nicolas Graves X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165520024611081 (code B ref -1); Tue, 14 Jun 2022 09:51:03 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jun 2022 09:50:46 +0000 Received: from localhost ([127.0.0.1]:32971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o13C9-0002sY-Vl for submit@debbugs.gnu.org; Tue, 14 Jun 2022 05:50:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:53334) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o13C4-0002rO-1O for submit@debbugs.gnu.org; Tue, 14 Jun 2022 05:50:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51314) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o13C2-0008Gq-8W for guix-patches@gnu.org; Tue, 14 Jun 2022 05:50:39 -0400 Received: from 8.mo575.mail-out.ovh.net ([46.105.74.219]:51625) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o13Bz-000207-5B for guix-patches@gnu.org; Tue, 14 Jun 2022 05:50:37 -0400 Received: from player746.ha.ovh.net (unknown [10.108.4.136]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 5881024B0C for ; Tue, 14 Jun 2022 09:50:33 +0000 (UTC) Received: from ngraves.fr (unknown [176.166.159.77]) (Authenticated sender: ngraves@ngraves.fr) by player746.ha.ovh.net (Postfix) with ESMTPSA id E29431E2E0C17; Tue, 14 Jun 2022 09:50:30 +0000 (UTC) X-OVh-ClientIp: 176.166.159.77 Date: Tue, 14 Jun 2022 11:49:51 +0200 Message-Id: <20220614094954.15197-6-ngraves@ngraves.fr> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220614094954.15197-1-ngraves@ngraves.fr> References: <20220614094954.15197-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 6478709541728412386 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrudduledgudelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpudejiedrudeiiedrudehledrjeejnecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejgeeirdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeeh Received-SPF: pass client-ip=46.105.74.219; envelope-from=ngraves@ngraves.fr; helo=8.mo575.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655200525; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=pRtEBKPdOGfk/ybcFDm2MU7yyrSrRit1n9kT807zCJs=; b=Z0uaVmJK1Kn8Qt0V2J9GeH1S1K3PBcF0jA1j/HuWjs8hgAFj66wtHYbYMyjZvBmFlraYFj 49hN5e+r6nFOQHYodFjlHxtwbyPVRxem4kcpF+CJRXd9vro9SqbJQZZqZcElb03FAslQR2 64JzRZr5kGODKpfDZ/Bf1wpr+i76ALW/Bcb1QvbzsCmlfnitHcECHR5HwzlEvOurQQTWXu QmRnqg2FCbIR8Cc4Jw8cxXztijFVzp4jX/VJSQ1xtpurhxNAAYdS7y3nXG+Fj8teWkFaLx z4kPa6dOb/eNfPzieLkAsd042b6IBZvb9iisV3E/Nno+Sp9yNQ46AK77Aai4VA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655200525; a=rsa-sha256; cv=none; b=hbCZHG9BKRGdscCM02SjR6tNTCUduAe9CSVpUSDeud1dWqKz/X8bq2b1F5F/KbM4qQEo9Q 1I0G4sxMtEMpw298fGrPGxIwRFWgFZwstM+6hTN8OUdTXUSq/z8oqvBuFDh3zuk8BVlczI oWC4KOhWQajt9b+boaVPqQv+2bFoLawLJjECRzfwzGObWe/4qhqxBkfwJKqGgrKf73Sst8 1ZluuGHTccRyvMh1VLbUmT2ltOaVcLCm3YWmcbT0E+HehZIiAoaBNaZRRBDRkaGcz9kzS5 PBZj7kN/advcTlb6qZnW3SWXdoaHVI27rFJnsZcIcLjQxaA0RFAlmwN1u4EN1g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.79 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: F38A29906 X-Spam-Score: -4.79 X-Migadu-Scanner: scn0.migadu.com X-TUID: uuOA8Z/foird * gnu/packages/node-xyz.scm (node-pbf): New variable. --- gnu/packages/node-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 3d945871cd..aa838108ad 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -233,6 +233,41 @@ (define-public node-oop while being as light-weight and simple as possible.") (license license:expat)))) +(define-public node-pbf + (package + (name "node-pbf") + (version "3.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mapbox/pbf") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1r8xs787ix79yr0vrwrizdml9h7cmxjrzhvnhkj784ac5f8nv5j7")))) + (build-system node-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (delete 'check) + (replace 'configure + (lambda* (#:key inputs #:allow-other-keys) + (invoke (string-append (assoc-ref inputs "node") "/bin/npm") + "--offline" "--ignore-scripts" "install" "--production") + #t))))) + (inputs (list node-ieee754 node-resolve-protobuf-schema)) + (home-page "https://github.com/mapbox/pbf") + (synopsis "Low-level library for decoding and encodingprotocol buffers in +Javascript") + (description "This package is a low-level, fast, ultra-lightweight (3KB +gzipped) JavaScript library for decoding and encoding protocol buffers, a +compact binary format for structured data serialization. Works both in Node and +the browser. Supports lazy decoding and detailed customization of the +reading/writing code.") + (license license:bsd-3))) + (define-public node-protocol-buffers-schema (package (name "node-protocol-buffers-schema") -- 2.36.1