summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-03-22 10:29:42 +0200
committerEfraim Flashner <efraim@flashner.co.il>2021-03-22 10:29:42 +0200
commitd177db7997bc2ff8d132fd20785c8b49b616037d (patch)
tree575a62331c5ac1b856b6302e465fe9adcef115d1 /gnu
parent2d24b80f3c1fe1e510c7fe161ffced4cd12f59db (diff)
downloadguix-d177db7997bc2ff8d132fd20785c8b49b616037d.tar.gz
gnu: Add rust-capnp-0.10.
* gnu/packages/crates-io.scm (rust-capnp-0.10): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 537b9c4955..2b31f2a1bf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6300,6 +6300,27 @@ spreadsheet file.")
 encoding.")
     (license license:expat)))
 
+(define-public rust-capnp-0.10
+  (package
+    (inherit rust-capnp-0.13)
+    (name "rust-capnp")
+    (version "0.10.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "capnp" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "17hsnmlcrzksjjpwpz51y8g36xzq8042i2cwns0lsg7rixfw2rxq"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-futures" ,rust-futures-0.1)
+        ("rust-quickcheck" ,rust-quickcheck-0.2))
+       #:cargo-development-inputs
+       (("rust-quickcheck" ,rust-quickcheck-0.2))))))
+
 (define-public rust-capnp-futures-0.13
   (package
     (name "rust-capnp-futures")