gnu: Add rust-prost-0.11.
* gnu/packages/crates-io.scm (rust-prost-0.11, rust-prost-derive-0.11): New variables. (rust-prost-0.9): Inherit from rust-prost-0.11. (rust-prost-derive-0.9): Inherit from rust-prost-derive-0.11. Change-Id: Ia08125881eb219bbd335071cd56c16d4fec31d3fmaster
parent
e7216d0e30
commit
77e94c4d04
|
@ -49523,22 +49523,65 @@ trait of proptest.")
|
||||||
("rust-criterion" ,rust-criterion-0.2)
|
("rust-criterion" ,rust-criterion-0.2)
|
||||||
("rust-proptest" ,rust-proptest-0.9))))))
|
("rust-proptest" ,rust-proptest-0.9))))))
|
||||||
|
|
||||||
(define-public rust-prost-derive-0.9
|
(define-public rust-prost-0.11
|
||||||
|
(package
|
||||||
|
(name "rust-prost")
|
||||||
|
(version "0.11.9")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "prost" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1kc1hva2h894hc0zf6r4r8fsxfpazf7xn5rj3jya9sbrsyhym0hb"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
|
||||||
|
("rust-prost-derive" ,rust-prost-derive-0.11))
|
||||||
|
#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)
|
||||||
|
("rust-env-logger" ,rust-env-logger-0.8)
|
||||||
|
("rust-log" ,rust-log-0.4)
|
||||||
|
("rust-proptest" ,rust-proptest-1)
|
||||||
|
("rust-rand" ,rust-rand-0.8))))
|
||||||
|
(home-page "https://github.com/tokio-rs/prost")
|
||||||
|
(synopsis "Protocol Buffers implementation for the Rust language")
|
||||||
|
(description
|
||||||
|
"This package provides a Protocol Buffers implementation for the Rust
|
||||||
|
language.")
|
||||||
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public rust-prost-0.9
|
||||||
|
(package
|
||||||
|
(inherit rust-prost-0.11)
|
||||||
|
(name "rust-prost")
|
||||||
|
(version "0.9.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "prost" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "00b0xfn80alw7h2pzr2z4dycyvsys4h5878sifaq9zdlbhkpjj24"))))
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-bytes" ,rust-bytes-1)
|
||||||
|
("rust-prost-derive" ,rust-prost-derive-0.9))))))
|
||||||
|
|
||||||
|
(define-public rust-prost-derive-0.11
|
||||||
(package
|
(package
|
||||||
(name "rust-prost-derive")
|
(name "rust-prost-derive")
|
||||||
(version "0.9.0")
|
(version "0.11.9")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "prost-derive" version))
|
(uri (crate-uri "prost-derive" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1zi0qway5anz5ik3k1yrc2av81sjcqvqy9lnivv0nzp0ccr1mk7r"))))
|
(base32 "1d3mw2s2jba1f7wcjmjd6ha2a255p2rmynxhm1nysv9w1z8xilp5"))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
|
||||||
#:cargo-inputs
|
|
||||||
(("rust-anyhow" ,rust-anyhow-1)
|
|
||||||
("rust-itertools" ,rust-itertools-0.10)
|
("rust-itertools" ,rust-itertools-0.10)
|
||||||
("rust-proc-macro2" ,rust-proc-macro2-1)
|
("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||||
("rust-quote" ,rust-quote-1)
|
("rust-quote" ,rust-quote-1)
|
||||||
|
@ -49550,29 +49593,26 @@ trait of proptest.")
|
||||||
language.")
|
language.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public rust-prost-0.9
|
(define-public rust-prost-derive-0.9
|
||||||
(package
|
(package
|
||||||
(name "rust-prost")
|
(inherit rust-prost-derive-0.11)
|
||||||
|
(name "rust-prost-derive")
|
||||||
(version "0.9.0")
|
(version "0.9.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "prost" version))
|
(uri (crate-uri "prost-derive" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "00b0xfn80alw7h2pzr2z4dycyvsys4h5878sifaq9zdlbhkpjj24"))))
|
(base32 "1zi0qway5anz5ik3k1yrc2av81sjcqvqy9lnivv0nzp0ccr1mk7r"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-bytes" ,rust-bytes-1)
|
(("rust-anyhow" ,rust-anyhow-1)
|
||||||
("rust-prost-derive" ,rust-prost-derive-0.9))))
|
("rust-itertools" ,rust-itertools-0.10)
|
||||||
(home-page "https://github.com/tokio-rs/prost")
|
("rust-proc-macro2" ,rust-proc-macro2-1)
|
||||||
(synopsis "Protocol Buffers implementation for the Rust language")
|
("rust-quote" ,rust-quote-1)
|
||||||
(description
|
("rust-syn" ,rust-syn-1))))))
|
||||||
"This package provides a Protocol Buffers implementation for the Rust
|
|
||||||
language.")
|
|
||||||
(license license:asl2.0)))
|
|
||||||
|
|
||||||
;; It's recommended that rust-protobuf, rust-protobuf-codegen
|
;; It's recommended that rust-protobuf, rust-protobuf-codegen
|
||||||
;; and rust-probuf-codegen-pure be the same version
|
;; and rust-probuf-codegen-pure be the same version
|
||||||
|
|
Reference in New Issue