mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: Add node-ms-bootstrap.
* gnu/packages/node.scm (node-ms-bootstrap): New variable.
This commit is contained in:
parent
f540ee5ef8
commit
972f2a2aff
1 changed files with 30 additions and 0 deletions
|
@ -31,8 +31,10 @@ (define-module (gnu packages node)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix derivations)
|
#:use-module (guix derivations)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
|
#:use-module (guix git-download)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
|
#:use-module (guix build-system node)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages adns)
|
#:use-module (gnu packages adns)
|
||||||
#:use-module (gnu packages base)
|
#:use-module (gnu packages base)
|
||||||
|
@ -246,6 +248,34 @@ (define-public node-semver-bootstrap
|
||||||
@uref{https://semver.org/, SemVer.org} specification.")
|
@uref{https://semver.org/, SemVer.org} specification.")
|
||||||
(license license:isc)))
|
(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
|
(define-public libnode
|
||||||
(package/inherit node
|
(package/inherit node
|
||||||
(name "libnode")
|
(name "libnode")
|
||||||
|
|
Loading…
Reference in a new issue