GNU bug report logs -
#68941
[PATCH 00/44] Node : a solution for tiny packages.
Previous Next
Full log
Message #35 received at 68941 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/node-xyz.scm (node-is-symbol): New variable.
---
gnu/packages/node-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index c6e7cac861..facbeb6a75 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -755,6 +755,45 @@ (define-public node-is-callable
value is callable.")
(license license:expat)))
+(define-public node-is-symbol
+ (package
+ (name "node-is-symbol")
+ (version "1.0.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/inspect-js/is-symbol")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0lx6ym8y7wq3r1mzg6gbnpkd2dmprmylj14v1r6dj3sb8430kwps"))))
+ (build-system node-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-dependencies 'delete-dependencies
+ (lambda args
+ (delete-dependencies
+ '("@ljharb/eslint-config"
+ "aud"
+ "auto-changelog"
+ "eslint"
+ "has-tostringtag"
+ "in-publish"
+ "npmignore"
+ "nyc"
+ "object-inspect"
+ "safe-publish-latest"
+ "tape")))))
+ #:tests? #f)) ; FIXME tests depend on node-tape.
+ (inputs (list node-has-symbols))
+ (home-page "https://github.com/inspect-js/is-symbol")
+ (synopsis "Javascript predicate to identify if value is a symbol")
+ (description "This package provides a Javascript function to identify if a
+value is a @code{Symbol}.")
+ (license license:expat)))
+
(define-public node-long-stack-traces
(package
(name "node-long-stack-traces")
--
2.41.0
This bug report was last modified 1 year and 13 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.