[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: Add node-path-key.
From: |
guix-commits |
Subject: |
02/02: gnu: Add node-path-key. |
Date: |
Sat, 3 Feb 2024 12:08:26 -0500 (EST) |
jlicht pushed a commit to branch master
in repository guix.
commit c70c513317de4fdeb0ca5a208cee3148b39f107c
Author: Rikard Nordgren <hrn@posteo.net>
AuthorDate: Fri Dec 15 07:29:05 2023 +0000
gnu: Add node-path-key.
* gnu/packages/node-xyz.scm (node-path-key): New variable
Change-Id: I0fc1cbbcf82622f4bf2dd6d2ca46b22605ea964a
Signed-off-by: Jelle Licht <jlicht@fsfe.org>
---
gnu/packages/node-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 9097d611a6..a47c525d14 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -702,6 +702,32 @@ Subsequent calls will either return the cached previous
value or throw an error
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 "Cross-platform utility to compute the PATH environment variable
key")
+ (description "@code{path-key} provides an implementation to compute the
+particular cross-platform spellings of the PATH environment variable key.")
+ (license license:expat)))
+
(define-public node-ieee754
(package
(name "node-ieee754")