diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-04 15:27:16 +0100 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-12-28 14:10:10 -0500 |
commit | 26e32977733ff34a890ec958ce5e6b70944f4fba (patch) | |
tree | 3fede93fa162393a588e48db3bb15f7be99f7ba1 | |
parent | 46ce0f3a8eaaff639e6b3848f96a184d623b3157 (diff) | |
download | guix-patches-26e32977733ff34a890ec958ce5e6b70944f4fba.tar guix-patches-26e32977733ff34a890ec958ce5e6b70944f4fba.tar.gz |
gnu: Add rust-prost-0.9.
* gnu/packages/crates-io.scm (rust-prost-0.9): New variable.
(rust-prost-derive-0.9): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 901641663b..41dd586add 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -39692,6 +39692,57 @@ including most strategies and the testing framework itself.") trait of proptest.") (license (list license:expat license:asl2.0)))) +(define-public rust-prost-derive-0.9 + (package + (name "rust-prost-derive") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "prost-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zi0qway5anz5ik3k1yrc2av81sjcqvqy9lnivv0nzp0ccr1mk7r")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)))) + (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 + (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")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bytes" ,rust-bytes-1) + ("rust-prost-derive" ,rust-prost-derive-0.9)))) + (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-psl-2 (package (name "rust-psl") |