GNU bug report logs - #67834
[PATCH] gnu: Add node-path-key.

Previous Next

Package: guix-patches;

Reported by: Rikard Nordgren <hrn <at> posteo.net>

Date: Fri, 15 Dec 2023 07:30:02 UTC

Severity: normal

Tags: patch

Done: Jelle Licht <jlicht <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Rikard Nordgren <hrn <at> posteo.net>
To: 67834 <at> debbugs.gnu.org
Cc: hrn <at> posteo.net
Subject: [bug#67834] [PATCH] gnu: Add node-path-key.
Date: Fri, 15 Dec 2023 07:29:05 +0000
* gnu/packages/node-xyz.scm (node-path-key): New variable

Change-Id: I0fc1cbbcf82622f4bf2dd6d2ca46b22605ea964a
---
 gnu/packages/node-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 6c16417309..9146daef8a 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -631,6 +631,31 @@ (define-public node-once
 if desired.")
     (license license:isc)))
 
+(define-public node-path-key
+  (package
+    (name "node-path-key")
+    (version "4.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sindresorhus/path-key")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "09f4rf70qhq234fcc3pw9nrqic8cb75pk2b6wfnpr96v0r1h8d8g"))))
+    (build-system node-build-system)
+    (arguments
+     '(#:tests? #f
+       #:phases (modify-phases %standard-phases
+                  (add-after 'patch-dependencies 'delete-dependencies
+                    (lambda _
+                      (delete-dependencies '("@types/node" "ava" "tsd" "xo")))))))
+    (home-page "https://github.com/sindresorhus/path-key")
+    (synopsis "Get the PATH environment variable key cross-platform")
+    (description "Get the PATH environment variable key cross-platform")
+    (license license:expat)))
+
 (define-public node-ieee754
   (package
     (name "node-ieee754")

base-commit: 23627b1706af25a0a30b96b9169a3495279aff1b
-- 
2.34.1





This bug report was last modified 1 year and 105 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.