unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#67834] [PATCH] gnu: Add node-path-key.
@ 2023-12-15  7:29 Rikard Nordgren
  2024-02-03 17:09 ` bug#67834: " Jelle Licht
  0 siblings, 1 reply; 2+ messages in thread
From: Rikard Nordgren @ 2023-12-15  7:29 UTC (permalink / raw)
  To: 67834; +Cc: hrn

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#67834: [PATCH] gnu: Add node-path-key.
  2023-12-15  7:29 [bug#67834] [PATCH] gnu: Add node-path-key Rikard Nordgren
@ 2024-02-03 17:09 ` Jelle Licht
  0 siblings, 0 replies; 2+ messages in thread
From: Jelle Licht @ 2024-02-03 17:09 UTC (permalink / raw)
  To: Rikard Nordgren, 67834-done

Rikard Nordgren <hrn@posteo.net> writes:

> * gnu/packages/node-xyz.scm (node-path-key): New variable
>
> Change-Id: I0fc1cbbcf82622f4bf2dd6d2ca46b22605ea964a

Thanks! Pushed to master, I slightly reworded the package description
(hopefully for the better).

- Jelle




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-03 17:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-15  7:29 [bug#67834] [PATCH] gnu: Add node-path-key Rikard Nordgren
2024-02-03 17:09 ` bug#67834: " Jelle Licht

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).