From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OJ8jHh3jtmEdVgEAgWs5BA (envelope-from ) for ; Mon, 13 Dec 2021 07:07:25 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id yCv3GR3jtmG8YwAAB5/wlQ (envelope-from ) for ; Mon, 13 Dec 2021 06:07:25 +0000 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 aspmx2.migadu.com (Postfix) with ESMTPS id 2287D1F819 for ; Mon, 13 Dec 2021 07:07:25 +0100 (CET) Received: from localhost ([::1]:46678 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mweUe-00066r-6i for larch@yhetil.org; Mon, 13 Dec 2021 01:07:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mweSN-0003cS-Bs for guix-patches@gnu.org; Mon, 13 Dec 2021 01:05:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42265) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mweSM-0007Xo-FR for guix-patches@gnu.org; Mon, 13 Dec 2021 01:05:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mweSM-0002cj-AU for guix-patches@gnu.org; Mon, 13 Dec 2021 01:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v4 23/45] gnu: Add node-safe-buffer. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Dec 2021 06:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51838 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51838@debbugs.gnu.org Cc: Timothy Sample , Pierre Langlois , Jelle Licht , Philip McGrath , Liliana Marie Prikler Received: via spool by 51838-submit@debbugs.gnu.org id=B51838.16393754529835 (code B ref 51838); Mon, 13 Dec 2021 06:05:02 +0000 Received: (at 51838) by debbugs.gnu.org; 13 Dec 2021 06:04:12 +0000 Received: from localhost ([127.0.0.1]:53770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweRX-0002YU-VJ for submit@debbugs.gnu.org; Mon, 13 Dec 2021 01:04:12 -0500 Received: from mail-ua1-f52.google.com ([209.85.222.52]:37620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mweRK-0002Vp-VP for 51838@debbugs.gnu.org; Mon, 13 Dec 2021 01:04:05 -0500 Received: by mail-ua1-f52.google.com with SMTP id o1so27339177uap.4 for <51838@debbugs.gnu.org>; Sun, 12 Dec 2021 22:03:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pLwK59KfKzSeilA++Kp0Cllh4FKRX2jv0tBtW2Jiti8=; b=UfTS7zUlS/2Pc673gAcfWbAskAFjeMbNFfeOCDJOd0h8VWTxIM3geuAl6tSbgXZ/B2 tPCU0E1JMX5PPqD+2DscxN4QFAu9CYOZmqudTAtBtgvn7BVL0iEziIR0r7o1JV5A8Ucr T8kG2hdCrHZzS3SKzp235xUKvLzfEaPSAtPcRB2R/IjOP9zy2so2F9oLm7oue7QTPjaW XNcgfpXpycMAJ45j2amOoXJZ9k9ujxxCRtrsRF8yJL6TePT6oDtrSpv3gtcXjlOMNlzx B8uCwqoakupA+eO9PDJiKnFoxHjYMhDFFSQLuntC6CFQHhd4TEeGqRqIThj4FwRyrHU1 GCkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pLwK59KfKzSeilA++Kp0Cllh4FKRX2jv0tBtW2Jiti8=; b=6jOdgMyXcIyA1pJEz3ItMc9A50xmM88S/LkNn+6aJwCIPG/7WJMat0LZokFHhJwMb9 b0pD8WC+CSeiymxqPn/wQtNFwzZ2msh60hwapMPIHDuaGHoDwyX8DQOtxgwqrey6dZeO MhCYDM+FM+CayWiqleCgWN64prTz22lBIZYKTvzLdp4pX9qu9niqruQrYZ/FtIX2kr9j EnEYbkRSbPCkh0lk1Jp2bFk5sXW1GfDwSW+BDwm9IYD89y1r5k3ztqnONvsJ/lv9025K K0LanpWbk5Phm7Q9D7BKt/TidBjbN4Qop2P0ymuLra5PC17DcKo7Sa4Qc657PMUTQY+0 npjg== X-Gm-Message-State: AOAM530ihVqitfrLjlpmBop7pwFNcSWv84yBI4IufsxZ2TPTEQIkouK4 skBNk4gL7ACInvYGP1178DUQbhZWi7hsM+kVR8w= X-Google-Smtp-Source: ABdhPJycjGIPqNuw8ICQwEEsVgUvjq1lAJbFiXf/NblFTt7D1lw+UG3Elg02WvW5EKAfcTituEyXMQ== X-Received: by 2002:a05:6102:c10:: with SMTP id x16mr26676457vss.38.1639375433541; Sun, 12 Dec 2021 22:03:53 -0800 (PST) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with ESMTPSA id z188sm3564743vsz.12.2021.12.12.22.03.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Dec 2021 22:03:53 -0800 (PST) From: Philip McGrath Date: Mon, 13 Dec 2021 01:00:45 -0500 Message-Id: <20211213060107.129223-24-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211213060107.129223-1-philip@philipmcgrath.com> References: <46a042bc08eb72a068b1e8c69bfe28cf2d4b2e53.camel@gmail.com> <20211208202838.752542-1-philip@philipmcgrath.com> <20211208202838.752542-5-philip@philipmcgrath.com> <877dc924h7.fsf@gmx.com> <5c62c3ce-dd50-5dcd-00ed-ff1524be4e0b@philipmcgrath.com> <20211213060107.129223-1-philip@philipmcgrath.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639375645; h=from:from:sender:sender: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:dkim-signature; bh=pLwK59KfKzSeilA++Kp0Cllh4FKRX2jv0tBtW2Jiti8=; b=pRcU9V/N/R9DokklPRoSIm38/aAbnetFeYmD6EJsCkmJ+b4PCkwOPieJxFiiqJtJ0FnkIt Y1CglibdQF3K4TDlc/hgNFUavAm901Qhx5Q+ZoMZzOUsY08QL7Rvj/O/z6kYhQ8OxZpGwn F4MjLP3QAWidDp0RF6gqtzpptyuQOfYmj0Z4aNG65ZFRD7HBM8ilYXU0VKDRTql6F3MtHr PCZg7p4XAa+iElf/ag9dRBetxhUc6R9+xs9UI4KKZkJkLmMHugjdC1mD7i5fEIRdgeR/co Roy7/U9Ug/WkS6JrL5feBTmUNs37zKIoR/1Q38rHl4Pkp7qZgDyLo3JTadBMRQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639375645; a=rsa-sha256; cv=none; b=OstZH3EOJT/wX1zPtQIV5F2cO75PAHaWAzLjPWzKdA7etbKp74XdVYUs+J+1MSpXGPlRbc jMmZHmsDRJohbb2n9G/hdXELeNTdkzNqe4r2ugw12UIGSC82940MOowRXubv2SdLxDQw/y TZ134eGm/sKG8pXiamvjxkZQ0sN6kMQw47DHRiUVjp/E3NdY82ORYF/Ee9SM5HQxrQUnpA P+R6v6WvePJMlkkbGc1H5jxKTIb+MifFij2FPu5G9nyze2eZidijiM8HTTKebwq3VgeSuZ fl+Sw6srA/EVIC2uzjwSyjKizBkrN1pA8J4qmTeZSUqdlRUudkpRbK31XrCyOg== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=UfTS7zUl; dmarc=none; spf=pass (aspmx2.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: 0.23 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=UfTS7zUl; dmarc=none; spf=pass (aspmx2.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: 2287D1F819 X-Spam-Score: 0.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: oXUZiFugI5Gj * gnu/packages/node-xyz.scm (node-safe-buffer): New variable. --- gnu/packages/node-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 9d8bf27852..6dff0ddba5 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -382,6 +382,34 @@ (define-public node-inherits @code{inherits()}.") (license license:isc))) +(define-public node-safe-buffer + (package + (name "node-safe-buffer") + (version "5.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/feross/safe-buffer") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0r26m0nl41h90ihnl2xf0cqs6z9z7jb87dl5j8yqb7887r9jlbpi")))) + (build-system node-build-system) + (arguments + '(#:absent-dependencies + '("tape" + "standard") + #:tests? #f)) + (home-page + "https://github.com/feross/safe-buffer") + (synopsis "Safer Node.js Buffer API") + (description "A safe drop-in replacement the Node.js @code{Buffer} API +that works in all versions of Node.js, using the built-in implementation when +available.") + (license license:expat))) + (define-public node-irc-colors (package (name "node-irc-colors") -- 2.32.0