summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-31 20:44:31 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:46:04 +0300
commit345ab72e6535e1b3d7d6c7e486a1535595bb3c8c (patch)
tree9352bacaa46f73a587b659a973ee2cb9704c1acc /gnu/packages/crates-io.scm
parent866f135ccd967209e0817d6b6f005891f98b1395 (diff)
downloadguix-345ab72e6535e1b3d7d6c7e486a1535595bb3c8c.tar.gz
gnu: Add rust-capnp-futures-0.19.
* gnu/packages/crates-io.scm (rust-capnp-futures-0.19): New variable.
(rust-capnp-futures-0.14): Inherit from rust-capnp-futures-0.19.

Change-Id: Idc230a6c4c4ecc5ec219ab496a31cf3903b5477e
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm33
1 files changed, 26 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 164839660c..f82280b187 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10777,8 +10777,33 @@ encoding.")
        #:cargo-development-inputs
        (("rust-quickcheck" ,rust-quickcheck-0.9))))))
 
+(define-public rust-capnp-futures-0.19
+  (package
+    (name "rust-capnp-futures")
+    (version "0.19.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "capnp-futures" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "06zvxipmy0xdsxxqr54gs4yi8rgl33iprfhx4nzc0fsfncy4ib2z"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-capnp" ,rust-capnp-0.19)
+                       ("rust-futures" ,rust-futures-0.3))
+       #:cargo-development-inputs (("rust-capnp" ,rust-capnp-0.19)
+                                   ("rust-futures" ,rust-futures-0.3)
+                                   ("rust-quickcheck" ,rust-quickcheck-1))))
+    (home-page "https://github.com/dwrensha/capnproto-rust")
+    (synopsis "Async serialization for Cap'n Proto messages")
+    (description "This package provides async serialization for Cap'n Proto
+messages.")
+    (license license:expat)))
+
 (define-public rust-capnp-futures-0.14
   (package
+    (inherit rust-capnp-futures-0.19)
     (name "rust-capnp-futures")
     (version "0.14.2")
     (source (origin
@@ -10788,7 +10813,6 @@ encoding.")
               (sha256
                (base32
                 "0fp6lr04w50mzfpxvvrbdm9pny8ch17514y7qgcsk6giqqf808cq"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-capnp" ,rust-capnp-0.14)
@@ -10796,12 +10820,7 @@ encoding.")
        #:cargo-development-inputs
        (("rust-capnp" ,rust-capnp-0.14)
         ("rust-futures" ,rust-futures-0.3)
-        ("rust-quickcheck" ,rust-quickcheck-0.9))))
-    (home-page "https://github.com/dwrensha/capnproto-rust")
-    (synopsis "Async serialization for Cap'n Proto messages")
-    (description "This package provides async serialization for Cap'n Proto
-messages.")
-    (license license:expat)))
+        ("rust-quickcheck" ,rust-quickcheck-0.9))))))
 
 (define-public rust-capnp-futures-0.13
   (package