[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/14: gnu: node: Add node-ms-bootstrap.
From: |
guix-commits |
Subject: |
06/14: gnu: node: Add node-ms-bootstrap. |
Date: |
Fri, 4 Dec 2020 07:02:29 -0500 (EST) |
jlicht pushed a commit to branch wip-node-14
in repository guix.
commit bf2365b657914efba9dbcf3a43652729c41fb121
Author: Jelle Licht <jlicht@fsfe.org>
AuthorDate: Fri Oct 23 22:53:23 2020 +0200
gnu: node: Add node-ms-bootstrap.
* 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 b726fec..7dc6317 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -29,8 +29,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)
@@ -256,6 +258,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)
- branch wip-node-14 created (now 9482250), guix-commits, 2020/12/04
- 05/14: gnu: node: Add node-semver-bootstrap., guix-commits, 2020/12/04
- 13/14: gnu: node: Add node-lts, guix-commits, 2020/12/04
- 01/14: build-system: Rewrite node build system., guix-commits, 2020/12/04
- 06/14: gnu: node: Add node-ms-bootstrap.,
guix-commits <=
- 07/14: gnu: node: Add node-binary-search-bootstrap., guix-commits, 2020/12/04
- 03/14: gnu: node: Use license prefix., guix-commits, 2020/12/04
- 02/14: gnu: Add libuv-node, guix-commits, 2020/12/04
- 04/14: gnu: node: Add node-bootstrap., guix-commits, 2020/12/04
- 08/14: gnu: node: Add node-debug-bootstrap., guix-commits, 2020/12/04
- 11/14: gnu: node: Add node-llparse-bootstrap., guix-commits, 2020/12/04
- 09/14: gnu: node: Add node-llparse-builder-bootstrap., guix-commits, 2020/12/04
- 12/14: gnu: node: Add llhttp-bootstrap., guix-commits, 2020/12/04
- 10/14: gnu: node: Add node-llparse-frontend-bootstrap., guix-commits, 2020/12/04
- 14/14: import: Add binary npm importer., guix-commits, 2020/12/04