mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: Add go-storj-io-picobuf.
* gnu/packages/golang-web.scm (go-storj-io-picobuf, protoc-gen-pico): New variables. Change-Id: I75ef7c1d45f30c96c4a1d7cb56cd03f5cd7a8efe Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
0c75247f73
commit
3fabddae1c
1 changed files with 46 additions and 0 deletions
|
|
@ -16766,6 +16766,37 @@ Kubernetes components which are using nftables.")
|
|||
Procedure Call (RPC) framework.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public go-storj-io-picobuf
|
||||
(package
|
||||
(name "go-storj-io-picobuf")
|
||||
(version "0.0.4")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/storj/picobuf")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "18h4ashs0i8qikqi7x30yy7y72xkxcc57xdxry6nssdzcjym4w5n"))))
|
||||
(build-system go-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
#~(list "-skip" "TestMessageSize")
|
||||
#:import-path "storj.io/picobuf"))
|
||||
(native-inputs
|
||||
(list go-github-com-zeebo-assert))
|
||||
(propagated-inputs
|
||||
(list go-google-golang-org-protobuf))
|
||||
(home-page "https://storj.io/picobuf")
|
||||
(synopsis "Replacement for subset of protobuf")
|
||||
(description
|
||||
"Picobuf is a minimal replacement for google.golang.org/protobuf with
|
||||
focusing on small binary size. It does not support the whole Protocol Buffers
|
||||
feature set and features are added on as the need arises.")
|
||||
(license license:expat)))
|
||||
|
||||
;;;
|
||||
;;; Executables:
|
||||
;;;
|
||||
|
|
@ -17009,6 +17040,21 @@ carries no encryption keys and cannot decode the traffic that it proxies.")))
|
|||
(propagated-inputs '())
|
||||
(inputs '())))
|
||||
|
||||
(define-public protoc-gen-pico
|
||||
(package/inherit go-storj-io-picobuf
|
||||
(name "protoc-gen-pico")
|
||||
(arguments
|
||||
(substitute-keyword-arguments
|
||||
(package-arguments go-storj-io-picobuf)
|
||||
((#:install-source? _ #t) #f)
|
||||
((#:skip-build? _ #t) #f)
|
||||
((#:tests? _ #t) #f)
|
||||
((#:import-path _) "storj.io/picobuf/protoc-gen-pico")
|
||||
((#:unpack-path _ "") "storj.io/picobuf")))
|
||||
(native-inputs (package-propagated-inputs go-storj-io-picobuf))
|
||||
(propagated-inputs '())
|
||||
(inputs '())))
|
||||
|
||||
(define-public swag
|
||||
(package/inherit go-github-com-swaggo-swag
|
||||
(name "swag")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue