From patchwork Wed Feb 16 06:20:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Matthew James Kraai X-Patchwork-Id: 37284 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 54D7F27BBEA; Wed, 16 Feb 2022 06:22:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 261CB27BBE9 for ; Wed, 16 Feb 2022 06:22:12 +0000 (GMT) Received: from localhost ([::1]:53302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKDhb-0000ip-8I for patchwork@mira.cbaines.net; Wed, 16 Feb 2022 01:22:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKDhT-0000ic-0Z for guix-patches@gnu.org; Wed, 16 Feb 2022 01:22:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53266) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKDhS-0005Iy-N6 for guix-patches@gnu.org; Wed, 16 Feb 2022 01:22:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nKDhS-00029j-9L for guix-patches@gnu.org; Wed, 16 Feb 2022 01:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54023] [PATCH] gnu: Add node-isexe. Resent-From: Matthew James Kraai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Feb 2022 06:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54023@debbugs.gnu.org Cc: Matthew James Kraai X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16449924668219 (code B ref -1); Wed, 16 Feb 2022 06:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Feb 2022 06:21:06 +0000 Received: from localhost ([127.0.0.1]:47163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKDgY-00028V-9e for submit@debbugs.gnu.org; Wed, 16 Feb 2022 01:21:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:60466) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nKDgV-00028M-RM for submit@debbugs.gnu.org; Wed, 16 Feb 2022 01:21:04 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKDgS-0000bv-6x for guix-patches@gnu.org; Wed, 16 Feb 2022 01:21:01 -0500 Received: from mail.ftbfs.org ([52.8.68.13]:18460 helo=aws.ftbfs.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKDgK-00054A-Bf for guix-patches@gnu.org; Wed, 16 Feb 2022 01:20:56 -0500 Received: from ip68-228-72-49.oc.oc.cox.net ([68.228.72.49] helo=carlo.lan) by aws.ftbfs.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nKDg6-002E5X-Hr; Wed, 16 Feb 2022 06:20:38 +0000 From: Matthew James Kraai Date: Tue, 15 Feb 2022 22:20:26 -0800 Message-Id: <20220216062026.14853-1-kraai@ftbfs.org> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Received-SPF: pass client-ip=52.8.68.13; envelope-from=kraai@ftbfs.org; helo=aws.ftbfs.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/node-xyz.scm (node-isexe): New variable. --- gnu/packages/node-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm index 87892410f9..1659d1e56b 100644 --- a/gnu/packages/node-xyz.scm +++ b/gnu/packages/node-xyz.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2021 Noisytoot ;;; Copyright © 2021 Charles ;;; Copyright © 2021 Philip McGrath +;;; Copyright © 2022 Matthew James Kraai ;;; ;;; This file is part of GNU Guix. ;;; @@ -131,6 +132,34 @@ (define-public node-far codes.") (license license:expat))) +(define-public node-isexe + (package + (name "node-isexe") + (version "2.0.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/isaacs/isexe") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "18rh937j0m0jkzdxfdvvjv6nsdbrdqipnq7nvv1ab7b7rjyw5id3")))) + (build-system node-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'patch-dependencies 'delete-dependencies + (lambda args + (delete-dependencies `("mkdirp" + "rimraf" + "tap"))))) + #:tests? #f)) + (home-page "https://github.com/isaacs/isexe#readme") + (synopsis "Node.js package to check if a file is executable and a normal file") + (description "Check if a file is executable and a normal file.") + (license license:isc))) + (define-public node-long-stack-traces (package (name "node-long-stack-traces")