[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51838] [PATCH v9 18/41] gnu: Add node-inherits.
From: |
Philip McGrath |
Subject: |
[bug#51838] [PATCH v9 18/41] gnu: Add node-inherits. |
Date: |
Sat, 8 Jan 2022 03:42:06 -0500 |
* gnu/packages/node-xyz.scm (node-inherits): New variable.
---
gnu/packages/node-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 80495cacf4..e12849b0a6 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
;;; Copyright © 2021 Noisytoot <noisytoot@disroot.org>
;;; Copyright © 2021 Charles <charles.b.jackson@protonmail.com>
+;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -360,6 +361,38 @@ (define-public node-once
if desired.")
(license license:isc)))
+(define-public node-inherits
+ (package
+ (name "node-inherits")
+ (version "2.0.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/isaacs/inherits")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0cpsr5yqwkxpbbbbl0rwk4mcby6zbx841k2zb4c3gb1579i5wq9p"))))
+ (build-system node-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies '("tap")))))
+ ;; FIXME: Tests depend on node-tap
+ #:tests? #f))
+ (home-page
+ "https://github.com/isaacs/inherits")
+ (synopsis
+ "Browser-friendly inheritance Node.js")
+ (description
+ "Browser-friendly inheritance fully compatible with standard Node.js
+@code{inherits()}.")
+ (license license:isc)))
+
(define-public node-irc-colors
(package
(name "node-irc-colors")
--
2.32.0
- [bug#51838] [PATCH v9 13/41] gnu: node-semver: Use 'delete-dependencies'., (continued)
- [bug#51838] [PATCH v9 13/41] gnu: node-semver: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 05/41] guix: node-build-system: Add 'delete-dependencies' helper function., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 06/41] gnu: node-semver-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 09/41] gnu: node-debug-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 17/41] gnu: node-irc: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 08/41] gnu: node-binary-search-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 16/41] gnu: node-irc-colors: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 10/41] gnu: node-llparse-builder-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 04/41] guix: node-build-system: Add avoid-node-gyp-rebuild phase., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 07/41] gnu: node-ms-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 18/41] gnu: Add node-inherits.,
Philip McGrath <=
- [bug#51838] [PATCH v9 11/41] gnu: node-llparse-frontend-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 14/41] gnu: node-wrappy: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 15/41] gnu: node-once: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 12/41] gnu: node-llparse-bootstrap: Use 'delete-dependencies'., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 23/41] gnu: Add node-openzwave-shared., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 21/41] gnu: Add node-readable-stream., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 19/41] gnu: Add node-safe-buffer., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 20/41] gnu: Add node-string-decoder., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 22/41] gnu: Add node-nan., Philip McGrath, 2022/01/08
- [bug#51838] [PATCH v9 26/41] gnu: Add node-file-uri-to-path., Philip McGrath, 2022/01/08