From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kNMPMjFkzWEGzAAAgWs5BA (envelope-from ) for ; Thu, 30 Dec 2021 08:48:01 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6BieLjFkzWG6aAAAauVa8A (envelope-from ) for ; Thu, 30 Dec 2021 08:48:01 +0100 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 50C1A1EA7C for ; Thu, 30 Dec 2021 08:48:01 +0100 (CET) Received: from localhost ([::1]:33696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n2qAK-0005NC-36 for larch@yhetil.org; Thu, 30 Dec 2021 02:48:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n2q9P-0004Aw-TU for guix-patches@gnu.org; Thu, 30 Dec 2021 02:47:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39601) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n2q9P-0005s9-KN for guix-patches@gnu.org; Thu, 30 Dec 2021 02:47:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n2q9P-0006uC-Ji for guix-patches@gnu.org; Thu, 30 Dec 2021 02:47:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51838] [PATCH v7 00/41] guix: node-build-system: Support compiling add-ons with node-gyp. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Dec 2021 07:47:03 +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.164085040526416 (code B ref 51838); Thu, 30 Dec 2021 07:47:03 +0000 Received: (at 51838) by debbugs.gnu.org; 30 Dec 2021 07:46:45 +0000 Received: from localhost ([127.0.0.1]:51125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2q96-0006rt-OV for submit@debbugs.gnu.org; Thu, 30 Dec 2021 02:46:45 -0500 Received: from mail-qv1-f45.google.com ([209.85.219.45]:46837) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n2q7Z-0006n8-DE for 51838@debbugs.gnu.org; Thu, 30 Dec 2021 02:45:09 -0500 Received: by mail-qv1-f45.google.com with SMTP id r6so21341546qvr.13 for <51838@debbugs.gnu.org>; Wed, 29 Dec 2021 23:45:09 -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=PqBqe7b84X7eJ9LE64l3mZc1pVz0sMMbcQ2lbqTdR9c=; b=LccGooRfWnnmSsJc+G4+dW42CZq/Jrjs2o13UWw/kK3MdVOxrr6L2lWRA7sY6f989b mEteWb/G15M4htnxSvXw1ILmdbFeQHFuKNlKNEfA9my6px0eks3Ys9HzFTbSRDPtx496 mRFWr3ki7TcatvZElpYhe8qVUw8QVDXDkaV2I5XgtkElcuR8hW1bT3dh7DgUQuAm7Ilw CcsD438DtMpbaBeGzEAnI1Gmkc95w/yUBh73Sf9izfhuAiCzc2DjsanBRWmGgOUpW9kT AL1ytayDX0YsfLTq7MapPE7JH7jrgQpPskyK08ybw6kLd2CTehOifdFyY+qKrplSIgob Paqw== 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=PqBqe7b84X7eJ9LE64l3mZc1pVz0sMMbcQ2lbqTdR9c=; b=ZGG1Z7dxHWP44zh+fwlGLcAx0PIY2pdQKG3NvBPe6IUbQX+1qXQ0vMGN/8i523dfiR ekZR6QrAYZkv5X8ZxNYe6x6NIDHIEamDyQrlQ20VpYvodIPVgTI3nNOuRICDhUrhKueL Q10OjNiNkMghKg5JDpPhPiiCmE9dF+rHcs/Vw2kgjFjiYS1Isdi0zXCMeRgA6aSBKolS ld6Be76in7JDTfZlsXzQrc1Q8mIx4kk9iWmgeqFG63uRKKmlPqSSpZjxp4u40gZ6J3+C Kk7frjHaKt8dRiDmSSRLy1TLDSyDvl4zieA7kyEVdR4vqLagbdEKo4cX53ms/bclvi/n A7XQ== X-Gm-Message-State: AOAM532upcY7ujPa5fx5vec5rUac8yevcB+3ss0dx49B6ljLxnv+U4OT kjWCSKbfw97UEhaNaL8kWVISh5HgDeDzmxWq X-Google-Smtp-Source: ABdhPJw3dTuMKo/tccHVxUQUfu+yOaTWCFpN3TozmDYMSvLlmKYa8Uevjrb97G27y1kGP3PJJP/mow== X-Received: by 2002:a05:6214:29c9:: with SMTP id gh9mr26509537qvb.50.1640850303889; Wed, 29 Dec 2021 23:45:03 -0800 (PST) Received: from localhost (c-73-125-89-242.hsd1.fl.comcast.net. [73.125.89.242]) by smtp.gmail.com with UTF8SMTPSA id v1sm20268551qtw.65.2021.12.29.23.45.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Dec 2021 23:45:03 -0800 (PST) From: Philip McGrath Date: Thu, 30 Dec 2021 02:44:15 -0500 Message-Id: <20211230074456.33433-1-philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211230073919.30327-1-philip@philipmcgrath.com> References: <20211230073919.30327-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=1640850481; 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=PqBqe7b84X7eJ9LE64l3mZc1pVz0sMMbcQ2lbqTdR9c=; b=Pq11XgZCKDYpaJPg4DKko6bp5dK17QhRaP2FMHTDID5IN42XgijK0FMEleZ6CIbk1ne4Jl Xqg0UGEAhupiIQmd4uQv6R39fjxJanAp5ZBcaS38drC/cPcjSybAWaM96rhuF6OoV7Ctqo RYmbLOvDOCwIJDwcac6SH1W/Tgg9dmyUb6bZ0WB3DlDwv5RQs/e2lH3pEtwWgrFVxdUHlj O/1o0wicoDlF+Z4lUORbYPqxgTOTW7MedSxURTNTmcKiCGD7ZqzLYCVztZ57Pni/jw197M 4pvCd1EIscv9bQFITq4eGXJU6f1OdwOzMPn1hMXstM9Noi1jjQapbkULiONdhg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640850481; a=rsa-sha256; cv=none; b=rkJPBICQcL04/apCQPvv0AtM6SgblZx7lqsYBfZwJXeiSUBkklzTcFzpmrZd+rgzRn+LMT HlMbynOqdTeFRXtUD0/+I2nqmQyTdSk8BDXtpwi/mlFuC01vGqG+1Cg/3qRYxDJsPvU7M/ CpGefJYZG/yqqXwAYQKMojMyF5lxI2zijyhFVFVqo7y5c/KrTA9HWmr/JVBMqzzwe/NzeV Lk0HZ2xzlz295iRL1uZI99bbKwj2mL1RX+v5ZfkkcpfDVNIeZ/FVHitqlRc9TbMo+AXIZE YDzRkPoWO6C1WS2JZAbR+1DPQVTPD9gzh3fHRcF99FTdQsDxjOdvqU/nudWQrQ== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=LccGooRf; 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.57 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=google header.b=LccGooRf; 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: 50C1A1EA7C X-Spam-Score: -0.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4U5JuH5PfgsF Hi again, Here, as promised, is v7! As I said above, this is my preferred version of this patch series, but I could also live with v6 if it could achieve consensus. -Philip Philip McGrath (41): guix: node-build-system: Add delete-lockfiles phase. guix: node-build-system: Add implicit libuv input. guix: node-build-system: Add JSON utilities. guix: node-build-system: Add avoid-node-gyp-rebuild phase. guix: node-build-system: Add #:absent-dependencies argument. gnu: node-semver-bootstrap: Use #:absent-dependencies. gnu: node-ms-bootstrap: Use #:absent-dependencies. gnu: node-binary-search-bootstrap: Use #:absent-dependencies. gnu: node-debug-bootstrap: Use #:absent-dependencies. gnu: node-llparse-builder-bootstrap: Use #:absent-dependencies. gnu: node-llparse-frontend-bootstrap: Use #:absent-dependencies. gnu: node-llparse-bootstrap: Use #:absent-dependencies. gnu: node-semver: Use #:absent-dependencies. gnu: node-wrappy: Use #:absent-dependencies. gnu: node-once: Use #:absent-dependencies. gnu: node-irc-colors: Use #:absent-dependencies. gnu: node-irc: Use #:absent-dependencies. gnu: Add node-inherits. gnu: Add node-safe-buffer. gnu: Add node-string-decoder. gnu: Add node-readable-stream. gnu: Add node-nan. gnu: Add node-openzwave-shared. gnu: Add node-addon-api. gnu: Add node-sqlite3. gnu: Add node-file-uri-to-path. gnu: Add node-bindings. gnu: Add node-segfault-handler. gnu: Add node-ms. gnu: Add node-debug. gnu: Add node-serialport-binding-abstract. gnu: Add node-serialport-parser-delimiter. gnu: Add node-serialport-parser-readline. gnu: Add node-serialport-bindings. gnu: Add node-serialport-parser-regex. gnu: Add node-serialport-parser-ready. gnu: Add node-serialport-parser-inter-byte-timeout. gnu: Add node-serialport-parser-cctalk. gnu: Add node-serialport-parser-byte-length. gnu: Add node-serialport-stream. gnu: Add node-serialport. gnu/packages/node-xyz.scm | 937 ++++++++++++++++++++++++++++++- gnu/packages/node.scm | 63 ++- gnu/packages/zwave.scm | 64 +++ guix/build-system/node.scm | 28 +- guix/build/node-build-system.scm | 354 +++++++++++- 5 files changed, 1376 insertions(+), 70 deletions(-) -- 2.32.0