guix-commits
[Top][All Lists]
Advanced

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

15/31: gnu: Add rust-capnp-rpc-0.19.


From: guix-commits
Subject: 15/31: gnu: Add rust-capnp-rpc-0.19.
Date: Sun, 31 Mar 2024 14:27:53 -0400 (EDT)

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

commit 6d2ecef80736485325eb77784f42e86c2cdccb44
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Mar 31 20:44:59 2024 +0300

    gnu: Add rust-capnp-rpc-0.19.
    
    * gnu/packages/crates-io.scm (rust-capnp-rpc-0.19): New variable.
    (rust-capnp-rpc-0.14): Inherit from rust-capnp-rpc-0.19.
    
    Change-Id: I1519f6724746a31b9d4dac7e6dd9edbbdfadbef8
---
 gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++---------
 1 file changed, 25 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f1c2cc524b..3644e87ae8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10781,8 +10781,32 @@ messages.")
        (("rust-capnp" ,rust-capnp-0.13)
         ("rust-quickcheck" ,rust-quickcheck-0.9))))))
 
+(define-public rust-capnp-rpc-0.19
+  (package
+    (name "rust-capnp-rpc")
+    (version "0.19.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "capnp-rpc" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "05hahpmfjnn49mzv4b2zp4y6si9g6yvjy6kgm2ia9apndjcbl78p"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-capnp" ,rust-capnp-0.19)
+                       ("rust-capnp-futures" ,rust-capnp-futures-0.19)
+                       ("rust-futures" ,rust-futures-0.3))))
+    (native-inputs (list capnproto))
+    (home-page "https://github.com/capnproto/capnproto-rust";)
+    (synopsis "Cap'n Proto remote procedure call protocol implementation")
+    (description "This package provides an implementation of the Cap'n Proto
+remote procedure call protocol")
+    (license license:expat)))
+
 (define-public rust-capnp-rpc-0.14
   (package
+    (inherit rust-capnp-rpc-0.19)
     (name "rust-capnp-rpc")
     (version "0.14.1")
     (source (origin
@@ -10792,19 +10816,11 @@ messages.")
               (sha256
                (base32
                 "0pm9bjw481lw1zp8lmzkpsjrb85lbjg5s46piqbc3wk8dzwifksc"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-capnp" ,rust-capnp-0.14)
         ("rust-capnp-futures" ,rust-capnp-futures-0.14)
-        ("rust-futures" ,rust-futures-0.3))))
-    (native-inputs
-     (list capnproto))
-    (home-page "https://github.com/capnproto/capnproto-rust";)
-    (synopsis "Cap'n Proto remote procedure call protocol implementation")
-    (description "This package provides an implementation of the Cap'n Proto
-remote procedure call protocol")
-    (license license:expat)))
+        ("rust-futures" ,rust-futures-0.3))))))
 
 (define-public rust-capnp-rpc-0.13
   (package



reply via email to

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