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>
This commit is contained in:
Rikard Nordgren 2023-12-15 07:29:05 +00:00 committed by Jelle Licht
parent ec27ba6161
commit c70c513317
No known key found for this signature in database
GPG key ID: DA4597F947B41025

View file

@ -702,6 +702,32 @@ (define-public node-once
if desired.") if desired.")
(license license:isc))) (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 (define-public node-ieee754
(package (package
(name "node-ieee754") (name "node-ieee754")