[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55961] [PATCH] gnu: Add node-protocol-buffers-schema.
From: |
Nicolas Graves |
Subject: |
[bug#55961] [PATCH] gnu: Add node-protocol-buffers-schema. |
Date: |
Wed, 20 Jul 2022 11:27:58 +0200 |
* gnu/packages/node-xyz.scm (node-protocol-buffers-schema): New variable.
---
gnu/packages/node-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index dec7d9ef19..e02a561967 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -232,6 +232,35 @@ (define-public node-oop
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* (#:key inputs #:allow-other-keys)
+ (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")
--
2.37.0
- [bug#55961] [PATCH] gnu: Add node-protocol-buffers-schema.,
Nicolas Graves <=