[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#66180] [PATCH v2 03/20] gnu: node-once: Move package in alphabetica
From: |
Nicolas Graves |
Subject: |
[bug#66180] [PATCH v2 03/20] gnu: node-once: Move package in alphabetical order. |
Date: |
Sun, 4 Feb 2024 13:40:13 +0100 |
* gnu/packages/node-xyz.scm (node-once): Move package in alphabetical order.
---
gnu/packages/node-xyz.scm | 64 +++++++++++++++++++--------------------
1 file changed, 32 insertions(+), 32 deletions(-)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 7fbeac5516..10e065f1da 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -401,6 +401,38 @@ (define-public node-normalize-path
slashes, unless disabled.")
(license license:expat)))
+(define-public node-once
+ (package
+ (name "node-once")
+ (version "1.4.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/isaacs/once")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1z8dcbf28dqdcp4wb0c53wrs90a07nkrax2c9kk26dsk1dhrnxav"))))
+ (build-system node-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies '("tap")))))
+ ;; FIXME: Tests depend on node-tap
+ #:tests? #f))
+ (inputs
+ (list node-wrappy))
+ (home-page "https://github.com/isaacs/once")
+ (synopsis "Node.js module to call a function only once")
+ (description
+ "@code{once} is a Node.js module to call a function exactly one time.
+Subsequent calls will either return the cached previous value or throw an error
+if desired.")
+ (license license:isc)))
+
(define-public node-oop
;; No releases, last commit was February 2013.
(let ((commit "f9d87cda0958886955c14a0a716e57021ed295dc")
@@ -695,38 +727,6 @@ (define-public node-wrappy
(description "@code{wrappy} is a utility for Node.js to wrap callbacks.")
(license license:isc)))
-(define-public node-once
- (package
- (name "node-once")
- (version "1.4.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/isaacs/once")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1z8dcbf28dqdcp4wb0c53wrs90a07nkrax2c9kk26dsk1dhrnxav"))))
- (build-system node-build-system)
- (arguments
- '(#:phases
- (modify-phases %standard-phases
- (add-after 'patch-dependencies 'delete-dependencies
- (lambda args
- (delete-dependencies '("tap")))))
- ;; FIXME: Tests depend on node-tap
- #:tests? #f))
- (inputs
- (list node-wrappy))
- (home-page "https://github.com/isaacs/once")
- (synopsis "Node.js module to call a function only once")
- (description
- "@code{once} is a Node.js module to call a function exactly one time.
-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")
--
2.41.0
- [bug#66180] [PATCH v2 01/20] gnu: node-bindings: Move package in alphabetical order., Nicolas Graves, 2024/02/04
- [bug#66180] [PATCH v2 03/20] gnu: node-once: Move package in alphabetical order.,
Nicolas Graves <=
- [bug#66180] [PATCH v2 05/20] gnu: node-inherits: Move package in alphabetical order., Nicolas Graves, 2024/02/04
- [bug#66180] [PATCH v2 02/20] gnu: node-util-deprecate: Move package in alphabetical order., Nicolas Graves, 2024/02/04
- [bug#66180] [PATCH v2 04/20] gnu: node-ieee754: Move package in alphabetical order., Nicolas Graves, 2024/02/04
- [bug#66180] [PATCH v2 06/20] gnu: node-safe-buffer: Move package in alphabetical order., Nicolas Graves, 2024/02/04
- [bug#66180] [PATCH v2 08/20] gnu: node-readable-stream: Move package in alphabetical order., Nicolas Graves, 2024/02/04
- [bug#66180] [PATCH v2 07/20] gnu: node-string-decoder: Move package in alphabetical order., Nicolas Graves, 2024/02/04
- [bug#66180] [PATCH v2 09/20] gnu: node-irc and node-irc-colors: Move in alphabetical order., Nicolas Graves, 2024/02/04
- [bug#66180] [PATCH v2 10/20] gnu: node-nan: Move package in alphabetical order., Nicolas Graves, 2024/02/04
- [bug#66180] [PATCH v2 11/20] gnu: node-addon-api: Move package in alphabetical order., Nicolas Graves, 2024/02/04
- [bug#66180] [PATCH v2 13/20] gnu: node-file-uri-to-path: Move package in alphabetical order., Nicolas Graves, 2024/02/04