[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55959] [PATCH 4/9] gnu: Add node-resolve-protobuf-schema.
From: |
Marius Bakke |
Subject: |
[bug#55959] [PATCH 4/9] gnu: Add node-resolve-protobuf-schema. |
Date: |
Thu, 23 Jun 2022 22:54:50 +0200 |
Nicolas Graves via Guix-patches via <guix-patches@gnu.org> skriver:
> * gnu/packages/node-xyz.scm (node-resolve-protobuf-schema): New variable.
> ---
> 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 3f49955e29..8f3288f219 100644
> --- a/gnu/packages/node-xyz.scm
> +++ b/gnu/packages/node-xyz.scm
> @@ -263,6 +263,37 @@ (define-public node-protocol-buffers-schema
> in Javascript.")
> (license license:expat)))
>
> +(define-public node-resolve-protobuf-schema
> + (package
> + (name "node-resolve-protobuf-schema")
> + (version "2.1.0")
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/mafintosh/resolve-protobuf-schema")
> + (commit (string-append "v" version))))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32
> + "0zxavr0b2yz9xzp6zlsg5g09i0a6zqb24j12rdvfgph6wd4mzk40"))))
> + (build-system node-build-system)
> + (arguments
> + '(#:phases
> + (modify-phases %standard-phases
> + (delete 'check)
> + (replace 'configure
> + (lambda* (#:key inputs #:allow-other-keys)
> + (invoke (string-append (assoc-ref inputs "node") "/bin/npm")
> + "--offline" "--ignore-scripts" "install" "--production")
> + #t)))))
Same comments as ... you get the drift.
> + (inputs (list node-protocol-buffers-schema))
> + (home-page "https://github.com/mafintosh/resolve-protobuf-schema")
> + (synopsis "Read a protobuf schema from the disk, parse it and resolve
> all imports")
Maybe just "Resolve protobuf imports".
> + (description "This package allows to read a protobuf schema from the
> disk,
> +parse it and resolve all imports.")
s/allows to/can/
signature.asc
Description: PGP signature
- [bug#55958] [PATCH 1/9] gnu: Add node-buffer-crc32., Nicolas Graves, 2022/06/14
- [bug#55959] [PATCH 4/9] gnu: Add node-resolve-protobuf-schema., Nicolas Graves, 2022/06/14
- [bug#55959] [PATCH 4/9] gnu: Add node-resolve-protobuf-schema.,
Marius Bakke <=
- [bug#55960] [PATCH 5/9] gnu: Add node-ieee754., Nicolas Graves, 2022/06/14
- [bug#55962] [PATCH 6/9] gnu: Add node-pbf., Nicolas Graves, 2022/06/14
- [bug#55966] [PATCH 9/9] gnu: chromium extensions lighter make-crx., Nicolas Graves, 2022/06/14
- [bug#55964] [PATCH 2/9] gnu: Add node-yazl., Nicolas Graves, 2022/06/14