From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gGQEIecMVWRpfgEASxT56A (envelope-from ) for ; Fri, 05 May 2023 16:04:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cHtNIecMVWRdOAAA9RJhRA (envelope-from ) for ; Fri, 05 May 2023 16:04:23 +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 50874962C for ; Fri, 5 May 2023 16:04:23 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puw2g-0002Kn-KR; Fri, 05 May 2023 10:04:15 -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 1puw2Y-0002Ji-L9 for guix-patches@gnu.org; Fri, 05 May 2023 10:04:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1puw2U-0006Zf-Sg for guix-patches@gnu.org; Fri, 05 May 2023 10:04:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1puw2U-0007cR-JR for guix-patches@gnu.org; Fri, 05 May 2023 10:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63307] [PATCH] gnu: Add pnpm Resent-From: Franz Geffke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 05 May 2023 14:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63307 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63307@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168329542229254 (code B ref -1); Fri, 05 May 2023 14:04:02 +0000 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 Content-Language: en-US From: Franz Geffke 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-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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683295463; a=rsa-sha256; cv=none; b=MYsy7SLfPQkUTX7Zj1evF2X+ExKDwVE/bRYEoPgowG51IkLU94XdyvWnehGhK66JDOGOfd eu55y+FbbsmDik3VJLypplNUWcR0vKV9KWJK6kyspEsQEVLK8rHrkRcUdti94bFUTNxzUn F7eTEKcC0aXL9uaKBiWyM0UXOk5sF7ETHo6/Y0F2zID7dasypnfNn9YRlZ3CS8cWV8WZN6 0LzGgLAZoLOEHV4zpXuCauuzPXfYag8+9+98SI3rYFTX+cKd7QtsWTNfNCDjWpSrqfLk6b Xv0qyUhUF0yAQ0PMkKdmaCR3yzIWGApYAtIO3ikOIr975ppwsiLUXi3Q1egbuA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pantherx.org header.s=fm1 header.b=WtBJwcM6; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=UfebYxpO; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683295463; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=MQsZ+uJvaBu2pWZIezkHImzcb+SexypaeMIe0wkl/ZQ=; b=qFBoTjNRtJdoKVNM+3A09nRUURf5enGNNn19hw66q4PC9i6+Gp7iBgl/rkOAGkGWSHLeE0 TX5mmr0qTftIxsC/LLTngL6t76Z+wsgjTDdmkMWkRRbw914FRtvq4Z5rMG6cRGb6rT7yJ0 gtnzM7gesnRJORCPw6lx3JVHmvMViC49jbkb2vo/Fry3Mx15UvVHctQ8BWSlgnrnVMXouX 188KjSWb3SZerpskaX6FXfszzcsnKZROtNB0LB5Bs2okVUuAUywBA66RZGrRmo0OhMBLaT e98ir8jKywvEDR9b/ptBfwPjRxvnO70c5i3BjEjI5lnselYuWS2o4e4y0mgoog== X-Migadu-Spam-Score: -0.51 X-Spam-Score: -0.51 X-Migadu-Queue-Id: 50874962C X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pantherx.org header.s=fm1 header.b=WtBJwcM6; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=UfebYxpO; dmarc=none; 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" X-TUID: AZgCO50WoNOR 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)))