guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

306/330: gnu: Add rust-prost-0.10.


From: guix-commits
Subject: 306/330: gnu: Add rust-prost-0.10.
Date: Mon, 18 Mar 2024 07:16:45 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 1ed3ef75381398e75c3a9642d91087fbb0c5ba05
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Mar 18 12:01:37 2024 +0200

    gnu: Add rust-prost-0.10.
    
    * gnu/packages/crates-io.scm (rust-prost-0.10): New variable.
    
    Change-Id: Ibf11b9966ae32357e74f36b1352f2db1e403709d
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e2b553f0b4..f2dfc04838 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53438,6 +53438,27 @@ language.")
                                    ("rust-proptest" ,rust-proptest-1)
                                    ("rust-rand" ,rust-rand-0.8))))))
 
+(define-public rust-prost-0.10
+  (package
+    (inherit rust-prost-0.12)
+    (name "rust-prost")
+    (version "0.10.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "prost" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0gh81qwzpi04cfxiypddpad9pvcdssy31fv9zjpdm84anqfz9bbi"))))
+    (arguments
+     `(#:cargo-inputs (("rust-bytes" ,rust-bytes-1)
+                       ("rust-prost-derive" ,rust-prost-derive-0.10))
+       #: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))))))
+
 (define-public rust-prost-0.9
   (package
     (inherit rust-prost-0.11)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]