From patchwork Tue Jul 19 21:28:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 40735 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 0C11027BBEA; Tue, 19 Jul 2022 22:32:30 +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 B7AC227BBE9 for ; Tue, 19 Jul 2022 22:32:29 +0100 (BST) Received: from localhost ([::1]:49096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDupQ-0001rM-TD for patchwork@mira.cbaines.net; Tue, 19 Jul 2022 17:32:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDup0-0001qe-Pb for guix-patches@gnu.org; Tue, 19 Jul 2022 17:32:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57591) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDup0-0002Fh-Gv for guix-patches@gnu.org; Tue, 19 Jul 2022 17:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oDup0-00052B-CP for guix-patches@gnu.org; Tue, 19 Jul 2022 17:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55958] [PATCH] gnu: Add node-buffer-crc32. References: <20220614094954.15197-1-ngraves@ngraves.fr> In-Reply-To: <20220614094954.15197-1-ngraves@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Jul 2022 21:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55958 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55958@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 55958-submit@debbugs.gnu.org id=B55958.165826629119307 (code B ref 55958); Tue, 19 Jul 2022 21:32:02 +0000 Received: (at 55958) by debbugs.gnu.org; 19 Jul 2022 21:31:31 +0000 Received: from localhost ([127.0.0.1]:55350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDuoV-00051K-HY for submit@debbugs.gnu.org; Tue, 19 Jul 2022 17:31:31 -0400 Received: from 5.mo561.mail-out.ovh.net ([87.98.178.36]:56137) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDuoP-00050w-WE for 55958@debbugs.gnu.org; Tue, 19 Jul 2022 17:31:28 -0400 Received: from player786.ha.ovh.net (unknown [10.110.208.202]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id CD41721EE5 for <55958@debbugs.gnu.org>; Tue, 19 Jul 2022 21:31:23 +0000 (UTC) Received: from ngraves.fr (unknown [176.166.159.77]) (Authenticated sender: ngraves@ngraves.fr) by player786.ha.ovh.net (Postfix) with ESMTPSA id 0661A2CAFD821; Tue, 19 Jul 2022 21:31:20 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-100R00331564122-c469-4d41-b784-7f55111238f8, 82B1FF7742A8316EE8F6D3689E6EC22BC6D3BB83) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 176.166.159.77 Date: Tue, 19 Jul 2022 23:28:59 +0200 Message-Id: <20220719212859.26080-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.0 MIME-Version: 1.0 X-Ovh-Tracer-Id: 2497808943770624738 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrudeltddgudeivdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeetfeefhfffhfejveeluedvhefggfevkeehuefhkefhheeugfehffehudfggeelieenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppedtrddtrddtrddtpddujeeirdduieeirdduheelrdejjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphhouhhtpdhhvghlohepphhlrgihvghrjeekiedrhhgrrdhovhhhrdhnvghtpdhinhgvtheptddrtddrtddrtddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeehheelheekseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedu 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-buffer-crc32): New variable. --- gnu/packages/node-xyz.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 9dcb5c3d16..d6035e2c23 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -56,6 +56,36 @@ (define-public node-acorn architecture supporting plugins.") (license license:expat))) +(define-public node-buffer-crc32 + (package + (name "node-buffer-crc32") + (version "0.2.13") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/brianloveswords/buffer-crc32") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "09qx2mnd898190m50mc0rhyvbm7d677sxz9bn09qmqkz6fnsddgf")))) + (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/brianloveswords/buffer-crc32") + (synopsis "CRC32 implementation in Javascript") + (description "This package provides a CRC32 algorithm that works with +binary data and fancy character sets, signed or unsigned data and has tests, +for Node.") + (license license:expat))) + (define-public node-color-name (package (name "node-color-name")