[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/42: gnu: Add node-inherits.
From: |
guix-commits |
Subject: |
18/42: gnu: Add node-inherits. |
Date: |
Sat, 8 Jan 2022 20:09:22 -0500 (EST) |
lilyp pushed a commit to branch master
in repository guix.
commit 3bd092c0bf8dd4d315fc596a60e3ad5976b1e769
Author: Philip McGrath <philip@philipmcgrath.com>
AuthorDate: Sat Jan 8 03:42:06 2022 -0500
gnu: Add node-inherits.
* gnu/packages/node-xyz.scm (node-inherits): New variable.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
gnu/packages/node-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 80495cacf4..0e33f64dc9 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,36 @@ Subsequent calls will either return the cached previous
value or throw an error
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 object inheritance")
+ (description "This package provides an alternative implementation of
+Node's @code{inherits} constructer that can be used in browsers, while
+defaulting to Node's implementation otherwise.")
+ (license license:isc)))
+
(define-public node-irc-colors
(package
(name "node-irc-colors")
- 31/42: gnu: Add node-serialport-binding-abstract., (continued)
- 31/42: gnu: Add node-serialport-binding-abstract., guix-commits, 2022/01/08
- 32/42: gnu: Add node-serialport-parser-delimiter., guix-commits, 2022/01/08
- 04/42: guix: node-build-system: Add avoid-node-gyp-rebuild phase., guix-commits, 2022/01/08
- 03/42: guix: node-build-system: Add JSON utilities., guix-commits, 2022/01/08
- 06/42: gnu: node-semver-bootstrap: Use 'delete-dependencies'., guix-commits, 2022/01/08
- 07/42: gnu: node-ms-bootstrap: Use 'delete-dependencies'., guix-commits, 2022/01/08
- 12/42: gnu: node-llparse-bootstrap: Use 'delete-dependencies'., guix-commits, 2022/01/08
- 15/42: gnu: node-once: Use 'delete-dependencies'., guix-commits, 2022/01/08
- 16/42: gnu: node-irc-colors: Use 'delete-dependencies'., guix-commits, 2022/01/08
- 17/42: gnu: node-irc: Use 'delete-dependencies'., guix-commits, 2022/01/08
- 18/42: gnu: Add node-inherits.,
guix-commits <=
- 19/42: gnu: Add node-safe-buffer., guix-commits, 2022/01/08
- 20/42: gnu: Add node-string-decoder., guix-commits, 2022/01/08
- 21/42: gnu: Add node-readable-stream., guix-commits, 2022/01/08
- 22/42: gnu: Add node-nan., guix-commits, 2022/01/08
- 23/42: gnu: Add node-openzwave-shared., guix-commits, 2022/01/08
- 30/42: gnu: Add node-debug., guix-commits, 2022/01/08
- 27/42: gnu: Add node-bindings., guix-commits, 2022/01/08
- 33/42: gnu: Add node-serialport-parser-readline., guix-commits, 2022/01/08
- 35/42: gnu: Add node-serialport-parser-regex., guix-commits, 2022/01/08
- 34/42: gnu: Add node-serialport-bindings., guix-commits, 2022/01/08