diff options
author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2020-04-20 22:18:34 +0200 |
---|---|---|
committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2020-05-05 10:18:40 +0200 |
commit | 1c2126c377bb5367b1f3ace599f214fabc0d5925 (patch) | |
tree | 539d8f55f2737b546a5ace1053384b46eb637643 /gnu/packages/crates-io.scm | |
parent | 412f468635f88b52a90dc18be92741a59401c5a1 (diff) | |
download | guix-patches-1c2126c377bb5367b1f3ace599f214fabc0d5925.tar guix-patches-1c2126c377bb5367b1f3ace599f214fabc0d5925.tar.gz |
gnu: Add rust-capnp-rpc-0.10.
* gnu/packages/crates-io.scm (rust-capnp-rpc-0.10): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9d1f7a61bc..2c7a17a39e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -41,6 +41,7 @@ #:use-module (gnu packages pcre) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages serialization) #:use-module (gnu packages ssh) #:use-module (gnu packages tls) #:use-module (gnu packages video) @@ -2450,6 +2451,33 @@ encoding.") messages.") (license license:expat))) +(define-public rust-capnp-rpc-0.10 + (package + (name "rust-capnp-rpc") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "capnp-rpc" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1j6xg7yays1hlm1045wviyn1642yvvi2p4kba26yk07a0kafr3jn")))) + (build-system cargo-build-system) + (native-inputs + `(("capnproto" ,capnproto))) + (arguments + `(#:cargo-inputs + (("rust-capnp" ,rust-capnp-0.10) + ("rust-capnp-futures" ,rust-capnp-futures-0.10) + ("rust-futures" ,rust-futures-0.1)) + #:cargo-development-inputs + (("rust-capnpc" ,rust-capnpc-0.10)))) + (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-capnpc-0.10 (package (name "rust-capnpc") |