mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: Add protobuf-c.
* gnu/packages/protobuf.scm (protobuf-c): New variable.
This commit is contained in:
parent
dd12d4aad0
commit
bfd073319c
1 changed files with 27 additions and 1 deletions
|
@ -25,9 +25,10 @@ (define-module (gnu packages protobuf)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (guix build-system python)
|
#:use-module (guix build-system python)
|
||||||
#:use-module ((guix licenses)
|
#:use-module ((guix licenses)
|
||||||
#:select (bsd-3))
|
#:select (bsd-2 bsd-3))
|
||||||
#:use-module (gnu packages compression)
|
#:use-module (gnu packages compression)
|
||||||
#:use-module (gnu packages gcc)
|
#:use-module (gnu packages gcc)
|
||||||
|
#:use-module (gnu packages pkg-config)
|
||||||
#:use-module (gnu packages python))
|
#:use-module (gnu packages python))
|
||||||
|
|
||||||
(define-public protobuf
|
(define-public protobuf
|
||||||
|
@ -52,6 +53,31 @@ (define-public protobuf
|
||||||
internal RPC protocols and file formats.")
|
internal RPC protocols and file formats.")
|
||||||
(license bsd-3)))
|
(license bsd-3)))
|
||||||
|
|
||||||
|
(define-public protobuf-c
|
||||||
|
(package
|
||||||
|
(name "protobuf-c")
|
||||||
|
(version "1.3.0")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://github.com/protobuf-c/protobuf-c/"
|
||||||
|
"releases/download/v" version
|
||||||
|
"/protobuf-c-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"18aj4xfv26zjmj44zbb01wk90jl7y4aj5xvbzz4gg748kdxavjax"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(inputs `(("protobuf" ,protobuf)))
|
||||||
|
(native-inputs `(("pkg-config" ,pkg-config)))
|
||||||
|
(home-page "https://github.com/protobuf-c/protobuf-c")
|
||||||
|
(synopsis "Protocol Buffers implementation in C")
|
||||||
|
(description
|
||||||
|
"This is protobuf-c, a C implementation of the Google Protocol Buffers
|
||||||
|
data serialization format. It includes @code{libprotobuf-c}, a pure C library
|
||||||
|
that implements protobuf encoding and decoding, and @code{protoc-c}, a code
|
||||||
|
generator that converts Protocol Buffer @code{.proto} files to C descriptor
|
||||||
|
code.")
|
||||||
|
(license bsd-2)))
|
||||||
|
|
||||||
(define-public python-protobuf
|
(define-public python-protobuf
|
||||||
(package
|
(package
|
||||||
(name "python-protobuf")
|
(name "python-protobuf")
|
||||||
|
|
Loading…
Reference in a new issue