gnu: Add node-inherits.
* gnu/packages/node-xyz.scm (node-inherits): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
534f9e495f
commit
3bd092c0bf
1 changed files with 31 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
|
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
|
||||||
;;; Copyright © 2021 Noisytoot <noisytoot@disroot.org>
|
;;; Copyright © 2021 Noisytoot <noisytoot@disroot.org>
|
||||||
;;; Copyright © 2021 Charles <charles.b.jackson@protonmail.com>
|
;;; Copyright © 2021 Charles <charles.b.jackson@protonmail.com>
|
||||||
|
;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; 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.")
|
if desired.")
|
||||||
(license license:isc)))
|
(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
|
(define-public node-irc-colors
|
||||||
(package
|
(package
|
||||||
(name "node-irc-colors")
|
(name "node-irc-colors")
|
||||||
|
|
Reference in a new issue