mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: Add node-undici-types.
* gnu/packages/node-xyz.scm (node-undici-types): New variable. Change-Id: I2a958fa4b7aeda01587105fe1027607df7677851 Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
committed by
Andreas Enge
parent
7d94b835e9
commit
6765faeb84
@@ -1853,6 +1853,30 @@ tablets.
|
||||
(home-page (git-reference-url (origin-uri source)))
|
||||
(license license:expat)))
|
||||
|
||||
(define-public node-undici-types
|
||||
(package
|
||||
(name "node-undici-types")
|
||||
(version "7.8.0")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/nodejs/undici")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name "node-undici" version))
|
||||
(sha256
|
||||
(base32 "044qy77m15m2pbk83pyyr6ql9imgmj4p8kdkn0v9qh9dnh5w6vdg"))))
|
||||
(build-system node-build-system)
|
||||
(arguments (list
|
||||
#:tests? #f ; No tests.
|
||||
#:phases #~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'setup (lambda _
|
||||
(invoke "node" "scripts/generate-undici-types-package-json.js")
|
||||
(chdir "types"))))))
|
||||
(synopsis "Stand-alone types package for Undici")
|
||||
(description "Typescript definition (d.ts) files for Undici.")
|
||||
(home-page "https://undici.nodejs.org")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public node-util-deprecate
|
||||
(package
|
||||
(name "node-util-deprecate")
|
||||
|
||||
Reference in New Issue
Block a user