[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#66180] [PATCH 13/19] gnu: node-file-uri-to-path: Move package in al
From: |
Nicolas Graves |
Subject: |
[bug#66180] [PATCH 13/19] gnu: node-file-uri-to-path: Move package in alphabetical order. |
Date: |
Sun, 24 Sep 2023 14:50:39 +0200 |
* gnu/packages/node-xyz.scm (node-file-uri-to-path): Move package in
alphabetical order.
---
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 cefc826c8d..0924788bee 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -359,6 +359,60 @@ (define-public node-far
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")
@@ -1132,60 +1186,6 @@ (define-public node-wrappy
(description "@code{wrappy} is a utility for Node.js to wrap callbacks.")
(license license:isc)))
-(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")
--
2.41.0
- [bug#66180] [PATCH 00/19] Sort packages in node-xyz.scm, Nicolas Graves, 2023/09/24
- [bug#66180] [PATCH 01/19] gnu: node-bindings: Move package in alphabetical order., Nicolas Graves, 2023/09/24
- [bug#66180] [PATCH 02/19] gnu: node-util-deprecate: Move package in alphabetical order., Nicolas Graves, 2023/09/24
- [bug#66180] [PATCH 10/19] gnu: node-nan: Move package in alphabetical order., Nicolas Graves, 2023/09/24
- [bug#66180] [PATCH 05/19] gnu: node-inherits: Move package in alphabetical order., Nicolas Graves, 2023/09/24
- [bug#66180] [PATCH 09/19] gnu: node-irc and node-irc-colors: Move in alphabetical order., Nicolas Graves, 2023/09/24
- [bug#66180] [PATCH 14/19] gnu: node-segfault-handler: Move package in alphabetical order., Nicolas Graves, 2023/09/24
- [bug#66180] [PATCH 13/19] gnu: node-file-uri-to-path: Move package in alphabetical order.,
Nicolas Graves <=
- [bug#66180] [PATCH 18/19] gnu: node-semver: Move package in alphabetical order., Nicolas Graves, 2023/09/24
- [bug#66180] [PATCH 03/19] gnu: node-once: Move package in alphabetical order., Nicolas Graves, 2023/09/24
- [bug#66180] [PATCH 12/19] gnu: node-sqlite3: Move package in alphabetical order., Nicolas Graves, 2023/09/24
- [bug#66180] [PATCH 08/19] gnu: node-readable-stream: Move package in alphabetical order., Nicolas Graves, 2023/09/24
- [bug#66180] [PATCH 04/19] gnu: node-ieee754: Move package in alphabetical order., Nicolas Graves, 2023/09/24
- [bug#66180] [PATCH 07/19] gnu: node-string-decoder: Move package in alphabetical order., Nicolas Graves, 2023/09/24
- [bug#66180] [PATCH 11/19] gnu: node-addon-api: Move package in alphabetical order., Nicolas Graves, 2023/09/24
- [bug#66180] [PATCH 15/19] gnu: node-ms: Move package in alphabetical order., Nicolas Graves, 2023/09/24
- [bug#66180] [PATCH 16/19] gnu: node-debug: Move package in alphabetical order., Nicolas Graves, 2023/09/24
- [bug#66180] [PATCH 17/19] gnu: node-serialport packages: Move packages in alphabetical order., Nicolas Graves, 2023/09/24