[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/23: gnu: node-file-uri-to-path: Move package in alphabetical order.
From: |
guix-commits |
Subject: |
13/23: gnu: node-file-uri-to-path: Move package in alphabetical order. |
Date: |
Sun, 18 Feb 2024 07:56:21 -0500 (EST) |
sharlatan pushed a commit to branch master
in repository guix.
commit 614e615f5a050860f14e5357502af85f944056e0
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Sun Feb 4 13:40:23 2024 +0100
gnu: node-file-uri-to-path: Move package in alphabetical order.
* gnu/packages/node-xyz.scm (node-file-uri-to-path): Move package in
alphabetical order.
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
---
gnu/packages/node-xyz.scm | 108 +++++++++++++++++++++++-----------------------
1 file changed, 54 insertions(+), 54 deletions(-)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index dcda27e411..1afbf6deac 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -359,6 +359,60 @@ multiple node.js files, while providing useful information
about output and exit
codes.")
(license license:expat)))
+(define-public node-file-uri-to-path
+ (package
+ (name "node-file-uri-to-path")
+ (version "2.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/TooTallNate/file-uri-to-path")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "08l779az44czm12xdhgcrnzpqw34s59hbrlfphs7g9y2k26drqav"))))
+ (native-inputs
+ (list esbuild))
+ (build-system node-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies `("@types/mocha"
+ "@types/node"
+ "@typescript-eslint/eslint-plugin"
+ "@typescript-eslint/parser"
+ "cpy-cli"
+ "eslint"
+ "eslint-config-airbnb"
+ "eslint-config-prettier"
+ "eslint-import-resolver-typescript"
+ "eslint-plugin-import"
+ "eslint-plugin-jsx-a11y"
+ "eslint-plugin-react"
+ "mocha"
+ "rimraf"
+ "typescript"))))
+ (replace 'build
+ (lambda* (#:key inputs native-inputs #:allow-other-keys)
+ (copy-recursively "src" "dist")
+ (invoke (search-input-file (or native-inputs inputs)
+ "/bin/esbuild")
+ "dist/index.ts"
+ "--outfile=dist/src/index.js"
+ "--format=cjs"
+ "--sourcemap"
+ "--platform=node"))))
+ #:tests? #f))
+ (home-page "https://github.com/TooTallNate/file-uri-to-path")
+ (synopsis "Convert a @code{file:} URI to a file path")
+ (description "This package provides a function to convert a @code{file:}
+URI to a file path. It accepts a @code{file:} URI and returns a file path
+suitable for use with the @code{fs} module functions.")
+ (license license:expat)))
+
(define-public node-global-gradle-clean
(package
(name "node-global-gradle-clean")
@@ -1229,60 +1283,6 @@ function with browser support.")
particular cross-platform spellings of the PATH environment variable key.")
(license license:expat)))
-(define-public node-file-uri-to-path
- (package
- (name "node-file-uri-to-path")
- (version "2.0.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/TooTallNate/file-uri-to-path")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "08l779az44czm12xdhgcrnzpqw34s59hbrlfphs7g9y2k26drqav"))))
- (native-inputs
- (list esbuild))
- (build-system node-build-system)
- (arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-after 'patch-dependencies 'delete-dependencies
- (lambda args
- (delete-dependencies `("@types/mocha"
- "@types/node"
- "@typescript-eslint/eslint-plugin"
- "@typescript-eslint/parser"
- "cpy-cli"
- "eslint"
- "eslint-config-airbnb"
- "eslint-config-prettier"
- "eslint-import-resolver-typescript"
- "eslint-plugin-import"
- "eslint-plugin-jsx-a11y"
- "eslint-plugin-react"
- "mocha"
- "rimraf"
- "typescript"))))
- (replace 'build
- (lambda* (#:key inputs native-inputs #:allow-other-keys)
- (copy-recursively "src" "dist")
- (invoke (search-input-file (or native-inputs inputs)
- "/bin/esbuild")
- "dist/index.ts"
- "--outfile=dist/src/index.js"
- "--format=cjs"
- "--sourcemap"
- "--platform=node"))))
- #:tests? #f))
- (home-page "https://github.com/TooTallNate/file-uri-to-path")
- (synopsis "Convert a @code{file:} URI to a file path")
- (description "This package provides a function to convert a @code{file:}
-URI to a file path. It accepts a @code{file:} URI and returns a file path
-suitable for use with the @code{fs} module functions.")
- (license license:expat)))
-
(define-public node-segfault-handler
(package
(name "node-segfault-handler")
- 16/23: gnu: node-debug: Move package in alphabetical order., (continued)
- 16/23: gnu: node-debug: Move package in alphabetical order., guix-commits, 2024/02/18
- 14/23: gnu: node-segfault-handler: Move package in alphabetical order., guix-commits, 2024/02/18
- 20/23: gnu: node-serialport-*: Move packages in alphabetical order., guix-commits, 2024/02/18
- 23/23: gnu: node-safe-stable-stringify: Move package in alphabetical order., guix-commits, 2024/02/18
- 12/23: gnu: node-sqlite3: Move package in alphabetical order., guix-commits, 2024/02/18
- 21/23: gnu: node-xyz: Add a note to the end of the file., guix-commits, 2024/02/18
- 06/23: gnu: node-safe-buffer: Move package in alphabetical order., guix-commits, 2024/02/18
- 22/23: gnu: node-irc-colors: Move package in alphabetical order., guix-commits, 2024/02/18
- 05/23: gnu: node-inherits: Move package in alphabetical order., guix-commits, 2024/02/18
- 07/23: gnu: node-string-decoder: Move package in alphabetical order., guix-commits, 2024/02/18
- 13/23: gnu: node-file-uri-to-path: Move package in alphabetical order.,
guix-commits <=
- 08/23: gnu: node-readable-stream: Move package in alphabetical order., guix-commits, 2024/02/18
- 15/23: gnu: node-ms: Move package in alphabetical order., guix-commits, 2024/02/18
- 17/23: gnu: packages: node-xyz: Add alphatical order header., guix-commits, 2024/02/18
- 19/23: gnu: node-path-key: Move package in alphabetical order., guix-commits, 2024/02/18
- 18/23: gnu: node-semver: Move package in alphabetical order., guix-commits, 2024/02/18
- 03/23: gnu: node-once: Move package in alphabetical order., guix-commits, 2024/02/18
- 11/23: gnu: node-addon-api: Move package in alphabetical order., guix-commits, 2024/02/18
- 10/23: gnu: node-nan: Move package in alphabetical order., guix-commits, 2024/02/18