guix-commits
[Top][All Lists]
Advanced

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

13/31: gnu: Add rust-capnp-0.19.


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

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

commit aa038dc6d4520fda7dca1289373de8abbca98af8
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Mar 31 20:17:29 2024 +0300

    gnu: Add rust-capnp-0.19.
    
    * gnu/packages/crates-io.scm (rust-capnp-0.19): New variable.
    I(rust-capnp-0.14): Inherit from rust-capnp-0.19.
    
    Change-Id: Ie2da7d21bb1ce4458be5eb9ffde8beb956b6f4bf
---
 gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++-------
 1 file changed, 24 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1efe001730..dec88a22ac 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10658,8 +10658,31 @@ brightness between monitors.")
 tracking memory usage and enabling limits to be set.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-capnp-0.19
+  (package
+    (name "rust-capnp")
+    (version "0.19.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "capnp" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1v90fxhhwgcszxday345rmjp3nicpnbvshnccd55qsbszgk3465i"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-embedded-io" ,rust-embedded-io-0.6)
+                       ("rust-quickcheck" ,rust-quickcheck-1))
+       #:cargo-development-inputs (("rust-quickcheck" ,rust-quickcheck-1))))
+    (home-page "https://github.com/capnproto/capnproto-rust";)
+    (synopsis "Runtime library for Cap'n Proto data encoding")
+    (description "This package provides a runtime library for Cap'n Proto data
+encoding.")
+    (license license:expat)))
+
 (define-public rust-capnp-0.14
   (package
+    (inherit rust-capnp-0.19)
     (name "rust-capnp")
     (version "0.14.11")
     (source (origin
@@ -10669,17 +10692,11 @@ tracking memory usage and enabling limits to be set.")
               (sha256
                (base32
                 "1wwp619sib07raykk93n6j7amvsinlchnicxfjnnb7bx5if0ijid"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-quickcheck" ,rust-quickcheck-0.9))
        #:cargo-development-inputs
-       (("rust-quickcheck" ,rust-quickcheck-0.9))))
-    (home-page "https://github.com/capnproto/capnproto-rust";)
-    (synopsis "Runtime library for Cap'n Proto data encoding")
-    (description "This package provides a runtime library for Cap'n Proto data
-encoding.")
-    (license license:expat)))
+       (("rust-quickcheck" ,rust-quickcheck-0.9))))))
 
 (define-public rust-capnp-0.13
   (package



reply via email to

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