[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47282] [PATCH 06/13] gnu: node: Add node-ms-bootstrap.
From: |
Jelle Licht |
Subject: |
[bug#47282] [PATCH 06/13] gnu: node: Add node-ms-bootstrap. |
Date: |
Sat, 20 Mar 2021 15:59:18 +0100 |
* gnu/packages/node.scm (node-ms-bootstrap): New package.
---
gnu/packages/node.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index f332d33536..6cc8a2d0d1 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -31,8 +31,10 @@
#:use-module (guix packages)
#:use-module (guix derivations)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system node)
#:use-module (gnu packages)
#:use-module (gnu packages adns)
#:use-module (gnu packages base)
@@ -248,6 +250,37 @@ devices.")
@uref{https://semver.org/, SemVer.org} specification.")
(license license:isc)))
+(define-public node-ms-bootstrap
+ (package
+ (name "node-ms")
+ (version "2.1.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/vercel/ms.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1pjxzbi4j8pinlsc7yxvfrh0b47kb2dc4lfc2rjq4wx5bdwl33fj"))))
+ (build-system node-build-system)
+ (arguments
+ `(#:node ,node-bootstrap
+ #:tests? #f
+ #:phases
+ (modify-phases
+ %standard-phases
+ (delete 'configure)
+ (delete 'build))))
+ (home-page "https://github.com/zeit/ms#readme")
+ (properties '((hidden? . #t)))
+ (synopsis "Tiny millisecond conversion utility")
+ (description
+ "Use this package to easily convert various time formats to
+milliseconds.")
+ (license license:expat)))
+
(define-public libnode
(package/inherit node
(name "libnode")
--
2.31.0
- [bug#47282] [PATCH 02/13] gnu: Add libuv-node, (continued)
- [bug#47282] [PATCH 02/13] gnu: Add libuv-node, Jelle Licht, 2021/03/20
- [bug#47282] [PATCH 07/13] gnu: node: Add node-binary-search-bootstrap., Jelle Licht, 2021/03/20
- [bug#47282] [PATCH 05/13] gnu: node: Add node-semver-bootstrap., Jelle Licht, 2021/03/20
- [bug#47282] [PATCH 11/13] gnu: node: Add node-llparse-bootstrap., Jelle Licht, 2021/03/20
- [bug#47282] [PATCH 04/13] gnu: node: Add node-bootstrap., Jelle Licht, 2021/03/20
- [bug#47282] [PATCH 03/13] gnu: node: Use license prefix., Jelle Licht, 2021/03/20
- [bug#47282] [PATCH 10/13] gnu: node: Add node-llparse-frontend-bootstrap., Jelle Licht, 2021/03/20
- [bug#47282] [PATCH 12/13] gnu: node: Add llhttp-bootstrap., Jelle Licht, 2021/03/20
- [bug#47282] [PATCH 13/13] gnu: node: Add node-lts, Jelle Licht, 2021/03/20
- [bug#47282] [PATCH 08/13] gnu: node: Add node-debug-bootstrap., Jelle Licht, 2021/03/20
- [bug#47282] [PATCH 06/13] gnu: node: Add node-ms-bootstrap.,
Jelle Licht <=
- [bug#47282] [PATCH 09/13] gnu: node: Add node-llparse-builder-bootstrap., Jelle Licht, 2021/03/20
- [bug#47282] [PATCH 00/13] node going forward, Lars-Dominik Braun, 2021/03/23
- [bug#47282] [PATCH 00/13] node going forward, Timothy Sample, 2021/03/30
- [bug#47282] [PATCH v2 01/13] build-system: Rewrite node build system., Timothy Sample, 2021/03/30
- [bug#47282] [PATCH v2 04/13] gnu: Add node-bootstrap., Timothy Sample, 2021/03/30
- [bug#47282] [PATCH v2 05/13] gnu: Add node-semver-bootstrap., Timothy Sample, 2021/03/30
- [bug#47282] [PATCH v2 02/13] gnu: Add libuv-for-node, Timothy Sample, 2021/03/30
- [bug#47282] [PATCH v2 03/13] gnu: node: Use license prefix., Timothy Sample, 2021/03/30