From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yCIZH+3WtGK4MAAAbAwnHQ (envelope-from ) for ; Thu, 23 Jun 2022 23:11:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eFFKHu3WtGJCGwEAG6o9tA (envelope-from ) for ; Thu, 23 Jun 2022 23:11:09 +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 156E41602B for ; Thu, 23 Jun 2022 23:11:09 +0200 (CEST) Received: from localhost ([::1]:45268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4U6W-00035N-8i for larch@yhetil.org; Thu, 23 Jun 2022 17:11:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4U6Q-00032t-DI for guix-patches@gnu.org; Thu, 23 Jun 2022 17:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46206) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4U6Q-0002cp-5Y for guix-patches@gnu.org; Thu, 23 Jun 2022 17:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o4U6Q-0007E0-1O for guix-patches@gnu.org; Thu, 23 Jun 2022 17:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55962] [PATCH 6/9] gnu: Add node-pbf. Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Jun 2022 21:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55962 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55962@debbugs.gnu.org Cc: Nicolas Graves X-Debbugs-Original-To: Nicolas Graves via Guix-patches via , 55962@debbugs.gnu.org Received: via spool by 55962-submit@debbugs.gnu.org id=B55962.165601864127727 (code B ref 55962); Thu, 23 Jun 2022 21:11:01 +0000 Received: (at 55962) by debbugs.gnu.org; 23 Jun 2022 21:10:41 +0000 Received: from localhost ([127.0.0.1]:40100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4U64-0007D8-MS for submit@debbugs.gnu.org; Thu, 23 Jun 2022 17:10:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4U62-0007Cq-NA for 55962@debbugs.gnu.org; Thu, 23 Jun 2022 17:10:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49356) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4U5w-0002U7-El; Thu, 23 Jun 2022 17:10:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=9SfrVYT13atEVYCA+/foxi9s9A43nnnidBKIszcJ3Yg=; b=Wa0zjc+qEpadcqHzrgnw h7Ai6gTf5FUppNU3QmoGuCLbyGCwMe4rRDLpbZ88vBM7wwTq7NTNsA/4YV5THNiMA2uCNp/Oj01Gb SkEhsMauF6m2CTUl9wbu7KfI+/iwViEjkuk3R4sm9UGTdAZVXyaGgvjfZyxJI83smGQ1N4orcB44N wn+MSPHC3H/0W6xQjIpYJUqwH0uH4m1pWt8a5iYInVxRANzoS62tEvLFVnZV+uoKgv4D3XYzq+Aiu OoZLzqfaUtmNhvWilH2IMD1+azdxBO9NaNy2o3cCDEiZ6tqY07Zx2DWShyFXRcbQC3U3qY4HZO0fo /x7VNbdLnDz7jg==; Received: from host-37-191-236-102.lynet.no ([37.191.236.102]:51438 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4U5w-0006Aa-1g; Thu, 23 Jun 2022 17:10:32 -0400 From: Marius Bakke In-Reply-To: <20220614094954.15197-6-ngraves@ngraves.fr> References: <20220614094954.15197-1-ngraves@ngraves.fr> <20220614094954.15197-6-ngraves@ngraves.fr> Date: Thu, 23 Jun 2022 23:10:30 +0200 Message-ID: <87zgi3qe61.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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" 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=1656018669; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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: dkim-signature; bh=9SfrVYT13atEVYCA+/foxi9s9A43nnnidBKIszcJ3Yg=; b=p/iBLcVUYM08EHN0Gn0Ninb4J8NGcQ+CT9k1is0w2jJW3h0MF7a1CVoggthZUXH+O+XHeM SANv9frpmtDAwBes7HuInVl0spIL9CPqdn4cgbLqywkbvflbcZ+hJyxGvdaxx0WOHLyIQu agbv5koIRSCgGt96LZiJYilBtUeOxztKwFXrK7YvDMe6G0FKq+upD6i068CzBfZoO7p382 exQwz7KacFF3+EG02ywPB07b1hDxcu0vN0CBwu8Eu8hxeJS/YvDMk+CHgLDglU/a+98XJ1 gLuw3Wa5+5be8hTWl9uXLT6ZsK1Wzhs2mmtWxM7l6JKaXjZNihdZZtBiWA3DSw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656018669; a=rsa-sha256; cv=none; b=dY8mcFgaSsLxH/IZXEo9Bp/xYiZUmiYB1robCCGCwJTaYV6uPN7VjA96ohQyFMSgXdDiKV Lhl07YFLWbABIsMEM94GL+ab/D9rEmM8+8fey1fiS95XCDi/lsN7Krg7y6BXZrrZhn7ID1 BHTjpgiSM8jukKn2/qtWl/uu+u07tAhRTUzy/8n3vR9u+BeL3HZ4iqQ8CnBOsdzBX8WMPm lDq/Cm75vOtZPsqCvpCMH49CX941zDHCr0lpbrtu2YXvan7CTASDTHXmsBmc3ttqpUIzrB t88Ex6GA67W2ECxFQrj1HXctU63la0ziqHwsbMhm26hKjNk0MBmahimS2JNY6w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Wa0zjc+q; 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: -6.99 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=Wa0zjc+q; 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: 156E41602B X-Spam-Score: -6.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: Qxy0luSIEKWP --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Nicolas Graves via Guix-patches via skriver: > * 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)))) >=20=20 > +(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" "--product= ion") > + #t))))) > + (inputs (list node-ieee754 node-resolve-protobuf-schema)) > + (home-page "https://github.com/mapbox/pbf") > + (synopsis "Low-level library for decoding and encodingprotocol buffe= rs in > +Javascript") Maybe "Decode and encode protocol 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 N= ode and > +the browser. Supports lazy decoding and detailed customization of the > +reading/writing code.") s/ultra-// and no need to mention the size. Remember two spaces after punctuation (or 'guix lint'). Otherwise great. :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEARYKAC0WIQRNTknu3zbaMQ2ddzTocYulkRQQdwUCYrTWxg8cbWFyaXVzQGdu dS5vcmcACgkQ6HGLpZEUEHfooAEAnG1zvxkjDwVnMIvxbtuNblXn+uHnSwKZ1v+C xeoriAkBAKNnrglvFBvT6I/sw/4zky0osG6kPFSnNUHDrRg7wYQG =kydo -----END PGP SIGNATURE----- --=-=-=--