diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-05-22 16:41:18 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-08-14 19:37:52 +0300 |
commit | 2792d085f4aca6be25b714969b3de3443cec49dd (patch) | |
tree | 0031792799d6a93b0ca3e0cb7026c901124e9e7b /gnu/packages | |
parent | f5e539a75e552c8ff7b114b4853c005ed337e59a (diff) | |
download | guix-2792d085f4aca6be25b714969b3de3443cec49dd.tar.gz |
gnu: Add rust-capnp-futures-0.14.
* gnu/packages/crates-io.scm (rust-capnp-futures-0.14): New variable. (rust-capnp-futures-0.13): Inherit from rust-capnp-futures-0.14.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3c495d1bbd..5ec36c9fc3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9936,8 +9936,35 @@ canonical filesystem paths.") encoding.") (license license:expat))) +(define-public rust-capnp-futures-0.14 + (package + (name "rust-capnp-futures") + (version "0.14.2") + (source (origin + (method url-fetch) + (uri (crate-uri "capnp-futures" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fp6lr04w50mzfpxvvrbdm9pny8ch17514y7qgcsk6giqqf808cq")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-capnp" ,rust-capnp-0.14) + ("rust-futures" ,rust-futures-0.3)) + #: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))) + (define-public rust-capnp-futures-0.13 (package + (inherit rust-capnp-futures-0.14) (name "rust-capnp-futures") (version "0.13.2") (source @@ -9947,19 +9974,13 @@ encoding.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "18q93ncbfcnjq7zhvy9idnifypmi2qcp775q7454y3r4lvvdcyyw")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-capnp" ,rust-capnp-0.13) ("rust-futures" ,rust-futures-0.3)) #:cargo-development-inputs (("rust-capnp" ,rust-capnp-0.13) - ("rust-quickcheck" ,rust-quickcheck-0.9)))) - (home-page "https://github.com/capnproto/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-rpc-0.14 (package |