Subject: [bug#69257] [PATCH 095/228] gnu: Add rust-prost-build-0.11.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:03:33 +0100

* gnu/packages/crates-io.scm (rust-prost-build-0.11): Add variable.

Change-Id: I797b4ce58b870497f268a3555c9c404710b54d86
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c415e0bb09..738038eee4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51098,6 +51098,39 @@ (define-public rust-prost-build-0.12
 files as part of a Cargo build.")
     (license license:asl2.0)))
 
+(define-public rust-prost-build-0.11
+  (package
+    (inherit rust-prost-build-0.12)
+    (name "rust-prost-build")
+    (version "0.11.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "prost-build" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0w5jx97q96ydhkg67wx3lb11kfy8195c56g0476glzws5iak758i"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bytes" ,rust-bytes-1)
+        ("rust-heck" ,rust-heck-0.4)
+        ("rust-itertools" ,rust-itertools-0.10)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-multimap" ,rust-multimap-0.8)
+        ("rust-petgraph" ,rust-petgraph-0.6)
+        ("rust-prettyplease" ,rust-prettyplease-0.1)
+        ("rust-prost" ,rust-prost-0.11)
+        ("rust-prost-types" ,rust-prost-types-0.11)
+        ("rust-pulldown-cmark" ,rust-pulldown-cmark-0.9)
+        ("rust-pulldown-cmark-to-cmark" ,rust-pulldown-cmark-to-cmark-10)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-syn" ,rust-syn-1)
+        ("rust-tempfile" ,rust-tempfile-3)
+        ("rust-which" ,rust-which-4))
+       #:cargo-development-inputs
+       (("rust-env-logger" ,rust-env-logger-0.8))))))
+
 (define-public rust-prost-derive-0.12
   (package
     (name "rust-prost-derive")
-- 
2.41.0