diff options
author | Jelle Licht <jlicht@fsfe.org> | 2021-03-30 01:27:36 -0400 |
---|---|---|
committer | Jelle Licht <jlicht@fsfe.org> | 2021-04-02 18:04:23 +0200 |
commit | 972f2a2affe4837c75e7760cdaa5f913dfb061dc (patch) | |
tree | f9e9bd04dc6ee9b06a6883bf4b62c0a15f5cf491 /gnu/packages | |
parent | f540ee5ef845946228c0e2e4cffadccd36069922 (diff) | |
download | guix-972f2a2affe4837c75e7760cdaa5f913dfb061dc.tar guix-972f2a2affe4837c75e7760cdaa5f913dfb061dc.tar.gz |
gnu: Add node-ms-bootstrap.
* gnu/packages/node.scm (node-ms-bootstrap): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/node.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm index 773cef3716..1d17502df7 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) @@ -246,6 +248,34 @@ 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)))) + (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") |