From debbugs-submit-bounces@debbugs.gnu.org Fri May 05 10:03:42 2023 Received: (at submit) by debbugs.gnu.org; 5 May 2023 14:03:42 +0000 Received: from localhost ([127.0.0.1]:57163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puw27-0007bh-1D for submit@debbugs.gnu.org; Fri, 05 May 2023 10:03:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:35506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puw25-0007bZ-49 for submit@debbugs.gnu.org; Fri, 05 May 2023 10:03:38 -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 1puw1w-0002EY-1M for guix-patches@gnu.org; Fri, 05 May 2023 10:03:31 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puw1u-0006W6-0S for guix-patches@gnu.org; Fri, 05 May 2023 10:03:27 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 3DFC45C005B for ; Fri, 5 May 2023 10:03:25 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 05 May 2023 10:03:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm1; t=1683295405; x=1683381805; bh=MQ sZ+uJvaBu2pWZIezkHImzcb+SexypaeMIe0wkl/ZQ=; b=WtBJwcM6SgjLemBLHo AxNOZMB77Nbg7yrGYG9x2/NGxnHA3GFtQYnuLUSBZWAESh7E+1EwJXYIzU2RjZ9T CCykJ58VctV+7KuTA0585iukJJJEARLP5+27SUs5Pfgh+e4qEKNrElKR4fdUVXyD u4IK+rR1qqjimAvYZge6CqWkMA4ktb48a8mtSlP/4XwgQ4UiRharvMnxGgWq9+Zz nOEKkA7F/N4PlIcHZcuIg9CuEm8dROjDIFwp0stQ3t2ssuwZPZv7+ahk66YCYx3d 14/KTdKRsAAiUajncbHyggaSotEgXbR3hy2DTThF7JOlo33t3w8JrtMAAyO4jmwu vlnA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1683295405; x=1683381805; bh=MQsZ+uJvaBu2p WZIezkHImzcb+SexypaeMIe0wkl/ZQ=; b=UfebYxpOarkJRYbs6v1frsz9diTBn V9lIgnkwkjkW/WhSb6fu5shuYHtoOzGVD7rIuAY0b8gi2jeVrxEaxUa8qFp/2zFD 7spX6ttVPWi3A1NpP8O7JmSnvarwAuDhc5i/QWBW8HLhhkhr8oiEO+vOaNoIk0OS geasHWuf61KsSwnRGn5Ftr+cRyg9KFUKsAnn/r2hRKqcl+LXV1HAoDtVdVnkdw91 u7xiTrtv3TK0EpVP7poaNOjQ+Cy5RPi4kun6VgAzmKnAw6C4mDeEIwHOdS2hlvMY Abpurb58geJ/BmnRvBRLELLN33qWPe5DYHCLM7z0DvnDAoMiiDjzjwMmw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeefvddgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfvhffutgfgsehtjeertd dtfeejnecuhfhrohhmpefhrhgrnhiiucfivghffhhkvgcuoehfrhgrnhiisehprghnthhh vghrgidrohhrgheqnecuggftrfgrthhtvghrnhephfejtefgteefuddtjeejheetudffvd etheefteevkefgheefieefvdehtdfhteffnecuffhomhgrihhnpehgihhthhhusgdrtgho mhdpphhnphhmrdhiohenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehfrhgrnhiisehprghnthhhvghrgidrohhrgh X-ME-Proxy: Feedback-ID: i477944df:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 5 May 2023 10:03:24 -0400 (EDT) Message-ID: <8fce37f3-cb14-d7f9-d728-b1415fa4d82f@pantherx.org> Date: Fri, 5 May 2023 15:03:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 To: guix-patches@gnu.org Content-Language: en-US From: Franz Geffke Subject: [PATCH] gnu: Add pnpm Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=66.111.4.25; envelope-from=franz@pantherx.org; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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))) From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 20 01:45:46 2023 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== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Message-ID: <87bkf2s2c1.wl-hako@ultrarare.space> From: Hilton Chain To: Franz Geffke Subject: Re: [PATCH] gnu: Add pnpm 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 63307 Cc: 63307@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 20 12:13:12 2024 Received: (at 63307) by debbugs.gnu.org; 20 Feb 2024 17:13:13 +0000 Received: from localhost ([127.0.0.1]:46451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rcTg8-00070y-Iq for submit@debbugs.gnu.org; Tue, 20 Feb 2024 12:13:12 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]:49211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rcTg3-00070i-QE for 63307@debbugs.gnu.org; Tue, 20 Feb 2024 12:13:10 -0500 Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-41269c801eeso13836045e9.2 for <63307@debbugs.gnu.org>; Tue, 20 Feb 2024 09:12:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708449099; x=1709053899; darn=debbugs.gnu.org; h=message-id:to:from:subject:date:content-transfer-encoding :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=906SqI0XNqtO3L6+8+0HBgf2wssLYzruBQ8iGQHxNVU=; b=a0fM1oo7cW4gXtOxD4ZDjo5BN8BpNct44ArkVK9hjiyIrZvZGjRxUWnDtdba7IsLN+ lOiI96QL98drwgmnZYusSqKHOT6nHxQPjgrgH9HmlvHlBPC9OIjrI+jfvu8TmNfSqwfI qPqfqAlOgXVFv38vGnHlRcg23zv2DcGpEd1XZW2TAB7kBQsO0Q3cDdwMRrxNV89dIodB 0Wli52nHLaYBcgR1hup0i7LQFVD8D0ZPr5d0i5Qio/XG0Rtv4yIqri/YGx/RLY2qbess 9vePqeD5dONwKohW37rqgBJ1lTWjXpkTOi/adAwaqLb1O/Sr+HCE4DV7OqxrxOTcJYpL PoRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708449099; x=1709053899; h=message-id:to:from:subject:date:content-transfer-encoding :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=906SqI0XNqtO3L6+8+0HBgf2wssLYzruBQ8iGQHxNVU=; b=fg4XmVO5SHlQ7O1gA4jl7jxqx3PqlHE4v51c7n7xc+wqN1eizOJbs1TakS49gsBBI/ T0UuUkZ35mXJJ/BJLB9izQwydMxcjBJZeaM7Eo73WyFDATKAqsslRMgCwMDnflaF5+hI QxEQS/fhNxZgNREGnRF33yhpZhvcOT87Vb4B0/CqiEnUh6igljS4EFHu+e4Vce3Od7Nc sevnFoh4bIde2tOpklJJmAI4jpNmnoG0NdJEQGRFQM/ZuSLp1cfuxiQAbl3gD031weqc 7e/6OM+nyid0QU8gpV4tGwZzi3gQ9a7PMz6AgNWIEyOe6G7rXSd73FNnB7lyNT+amMZP WbyQ== X-Gm-Message-State: AOJu0YyovWR01XJm3SpkcEjQiyC783ufqC9VjjlOT+Bi0qFgjZFbtMDP VQmUoqyYC2vdtNYDIVCQm+k4rsvymrIHwt4O61xH7lkjhUdGSVZ6fkZ8wP0o X-Google-Smtp-Source: AGHT+IH2IGdPztpAwtqN141whuWpWnd+IUd5RbZZ6rrUjn4WKupzpqBv9NE1IhksB+orosTDYGJzpw== X-Received: by 2002:a05:600c:3545:b0:412:65e7:3639 with SMTP id i5-20020a05600c354500b0041265e73639mr4864083wmq.27.1708449099248; Tue, 20 Feb 2024 09:11:39 -0800 (PST) Received: from localhost (62.83.197.200.dyn.user.ono.com. [62.83.197.200]) by smtp.gmail.com with ESMTPSA id n9-20020a056000170900b0033d5fab6781sm5163768wrc.96.2024.02.20.09.11.38 for <63307@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Feb 2024 09:11:38 -0800 (PST) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 20 Feb 2024 17:11:37 +0000 Subject: [PATCH] gnu: Add pnpm From: "Erik Eduardo" To: <63307@debbugs.gnu.org> Message-Id: X-Mailer: aerc 0.15.2 X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: 63307 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.7 (--) To install pnpm is needed pnpm, how guix would deal with this? More information about building can be found in CONTRIBUTING.md on the root of the repository.