From 26e32977733ff34a890ec958ce5e6b70944f4fba Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 4 Dec 2021 15:27:16 +0100 Subject: gnu: Add rust-prost-0.9. * gnu/packages/crates-io.scm (rust-prost-0.9): New variable. (rust-prost-derive-0.9): New variable. --- gnu/packages/crates-io.scm | 51 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) 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") -- cgit 1.4.1