From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id aB1cCqOo4WTBcQAASxT56A (envelope-from ) for ; Sun, 20 Aug 2023 07:46:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OBycCqOo4WRN1AAA9RJhRA (envelope-from ) for ; Sun, 20 Aug 2023 07:46:11 +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 BA79631F00 for ; Sun, 20 Aug 2023 07:46:10 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=qU3knIFt; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692510370; 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-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=kFZ0dTAGgz7nz0Hmk/ia46pdQijnX/Jd3XA3z3I1JM8=; b=DCM76OxWcxwZCODEymCe9/kFv63oQ0MFjZRDXAKqVdiBvKqBGDXAnobNi2zILP4tMr/cfy TFEYRDJ40bkAAy99EMWpXhTKR+l12UKsWKMHME65DuXzUauapiJ3Rnmbu/h15HQZ8vUp4e hjo8P//PgqfLBdQSj3igIJbOkhnkyR1/e3DICEmEWwY5us31FWnXaad3m86xqx8Sci0GD1 R3usZm+3Vh75IZqbGu11z9c2KLgRapjvItIDg8YC5RekQjj2XmgzFmEOGFToONrnhb1m5N Jp9s7yc7R3vt6/3u6bxoalhw+ZLGMS9RxI/TL6Td6loGXRXLsXvSlpp0cv3LcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=qU3knIFt; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692510370; a=rsa-sha256; cv=none; b=DZhmWrCZ8W40rcP9xe1riJXBbjKfHZ0RytYWwumPaaXUffdWKj8LlQkCf7HTEf1a/O/TbQ bfvKLy1InP3wSzwuTeWtgNZQt9RaQmGo0nvwPYFEtfr6gT0oUtDYiqcGdUHYyubaFWr/J6 jBtHI2qB2ajnt3NfxMktVTsb0jqsl37lsuoGLazn5JaqXX1yvkP7rCOfJpu7YQIa149hvU mntq5MURF8pyCigQsxa/4C6qb8eHGb/pWWRTolFUAAbDOcxRurq26ky63v2PssP4EEH51I YETxJ/ftNP8txLFIh7mX0DzOTAfdUVcoz2ktgIWsBg2RhzftzuhjasixgYSbMQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qXbGE-0002xN-Dr; Sun, 20 Aug 2023 01:46:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qXbGC-0002wz-Vf for guix-patches@gnu.org; Sun, 20 Aug 2023 01:46:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qXbGC-00062u-Ib for guix-patches@gnu.org; Sun, 20 Aug 2023 01:46:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qXbGD-0007j4-VG for guix-patches@gnu.org; Sun, 20 Aug 2023 01:46:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63307] [PATCH] gnu: Add pnpm Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Aug 2023 05:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63307 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Franz Geffke Cc: 63307@debbugs.gnu.org Received: via spool by 63307-submit@debbugs.gnu.org id=B63307.169251034629673 (code B ref 63307); Sun, 20 Aug 2023 05:46:01 +0000 Received: (at 63307) by debbugs.gnu.org; 20 Aug 2023 05:45:46 +0000 Received: from localhost ([127.0.0.1]:52718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXbFy-0007iX-Ap for submit@debbugs.gnu.org; Sun, 20 Aug 2023 01:45:46 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:42868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXbFu-0007iG-C4 for 63307@debbugs.gnu.org; Sun, 20 Aug 2023 01:45:43 -0400 Date: Sun, 20 Aug 2023 13:35:42 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1692510316; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=kFZ0dTAGgz7nz0Hmk/ia46pdQijnX/Jd3XA3z3I1JM8=; b=qU3knIFtinfKXyrrzpsgtQr+noi6KJ8iNCUEniVrpu50gRDZn5cl2hM8bYERlN0+/oFPp3 /reepPSm2T0nOPEv/ZUE8cyyUCCMwnA3hZaeEKo7l2fdWwwTjsWOvTlQGJnu87AqOF3ZKv 9AZA47WCP0BImf13flizXUjl3SXRelyfbAwjKuDiBLv6CX4dx9kVm9YKQ2WPGoEllrMnyg vfaWgbQ9er23DLmnLfx0slRYb6ry72CqSnnGgE9JxgeOXrHC+pk5sjTQzVSnlcktW4TsYw VK0dg40g+qbYEeWdFjxJgxJ1pbH7yRhzRq2lUNg46qe4zl/UCHI7rgoibNIWBg== Message-ID: <87bkf2s2c1.wl-hako@ultrarare.space> In-Reply-To: <8fce37f3-cb14-d7f9-d728-b1415fa4d82f@pantherx.org> References: <8fce37f3-cb14-d7f9-d728-b1415fa4d82f@pantherx.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spamd-Bar: / 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: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -6.70 X-Spam-Score: -6.70 X-Migadu-Queue-Id: BA79631F00 X-TUID: vIf55ykTfzVw Hi Franz, On Fri, 05 May 2023 22:03:22 +0800, Franz Geffke wrote: > > diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm > index 991113c05b..b32e68b415 100644 > --- a/gnu/packages/node-xyz.scm > +++ b/gnu/packages/node-xyz.scm > @@ -29,7 +29,9 @@ (define-module (gnu packages node-xyz) > #:use-module (guix gexp) > #:use-module (guix packages) > #:use-module (guix git-download) > - #:use-module (guix build-system node)) > + #:use-module (guix build-system node) > + #:use-module (guix build-system trivial) > + #:use-module (ice-9 match)) > > (define-public node-acorn > (package > @@ -1546,3 +1548,37 @@ (define-public node-yazl > @item Prefer to open input files one at a time than all at once. > @end enumerate") > (license license:expat))) > + > +(define-public pnpm > + (package > + (name "pnpm") > + (version "7.32.2") > + (source > + (origin > + (method url-fetch) > + (uri (string-append > + "https://github.com/pnpm/pnpm/releases/download/v" > + version "/pnpm-linuxstatic-" > + (match (or (%current-system) (%current-target-system)) > + ("x86_64-linux" "x64") > + ("aarch64-linux" "arm64")))) > + (sha256 > + (base32 > + "1k3n24ink74ajs8nd0p6y6238vi41n5bvrk8clnydgwg11ax1zx0")))) > + (build-system trivial-build-system) > + (arguments > + `(#:modules ((guix build utils)) > + #:builder > + (begin > + (use-modules ((guix build utils))) > + (let* ((source (assoc-ref %build-inputs "source")) > + (bin (string-append %output "/bin")) > + (exe (string-append bin "/pnpm"))) > + (mkdir-p bin) > + (copy-file source exe) > + (chmod exe #o755))))) > + (home-page "https://pnpm.io") > + (synopsis "Fast, disk space efficient package manager for nodejs") > + (description "pnpm uses a content-addressable filesystem to > +store all files from all module directories on a disk") > + (license license:expat))) > > Binary packages won't be accpeted, would you like to try building pnpm from source? Or this issue should be closed. And in case you don't know, the current node package is built with corepack [1] support, pnpm is included in it: $ guix shell node -- corepack pnpm --help Thanks [1]: https://github.com/nodejs/corepack