From b42ff8361347dae6aa562007445ab4c48e36199e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 18 Mar 2024 12:01:36 +0200 Subject: [PATCH] gnu: Add rust-prost-types-0.10. * gnu/packages/crates-io.scm (rust-prost-types-0.10): New variable. Change-Id: I459bd08d6a21df0ec9112e92524149ec74a66cd9 --- gnu/packages/crates-io.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index bb2e4e2589..8722d86d68 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -53777,6 +53777,23 @@ (define-public rust-prost-types-0.12 Protobuf reference for more information about well known types.") (license license:asl2.0))) +(define-public rust-prost-types-0.10 + (package + (inherit rust-prost-types-0.12) + (name "rust-prost-types") + (version "0.10.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "prost-types" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s0y8sc045xjynikw7n9ywm0z39fdkna3j39ivf1241n551022id")))) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1) + ("rust-prost" ,rust-prost-0.10)) + #:cargo-development-inputs (("rust-proptest" ,rust-proptest-1)))))) + ;; It's recommended that rust-protobuf, rust-protobuf-codegen ;; and rust-probuf-codegen-pure be the same version (define-public rust-protobuf-2