aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2022-07-20 11:31:15 +0200
committerMarius Bakke <marius@gnu.org>2022-07-20 16:50:08 +0200
commit13e50d75e879f06465a32edcab623ce1613a7436 (patch)
treede3fd34b251157bddee2749ddd97bf14180739eb /gnu/packages
parent2b7fc1018520d09f82e60533fbfb053863253986 (diff)
downloadguix-13e50d75e879f06465a32edcab623ce1613a7436.tar.gz
guix-13e50d75e879f06465a32edcab623ce1613a7436.zip
gnu: Add node-protocol-buffers-schema.
* gnu/packages/node-xyz.scm (node-protocol-buffers-schema): New variable. Signed-off-by: Marius Bakke <marius@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/node-xyz.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 024418b329..97ed294721 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -230,6 +230,33 @@ random number generator.")
while being as light-weight and simple as possible.")
(license license:expat))))
+(define-public node-protocol-buffers-schema
+ (package
+ (name "node-protocol-buffers-schema")
+ (version "3.6.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mafintosh/protocol-buffers-schema")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0lnckxj14jzsnfxdd5kmlwrac43c214bv8i2g5rdldymlpxzrz1v"))))
+ (build-system node-build-system)
+ (arguments
+ '(#:tests? #f
+ #:phases (modify-phases %standard-phases
+ (replace 'configure
+ (lambda _
+ (invoke "npm" "--offline" "--ignore-scripts" "install"
+ "--production"))))))
+ (home-page "https://github.com/mafintosh/protocol-buffers-schema")
+ (synopsis "Protocol buffers schema parser written in Javascript")
+ (description "This package provides a protocol buffers schema parser
+written in Javascript.")
+ (license license:expat)))
+
(define-public node-stack-trace
;; There have been improvements since the last release.
(let ((commit "4fd379ee78965ce7ce8820b436f1b1b590d5dbcf")