gnu: Add rust-capnp-rpc-0.19.

* gnu/packages/crates-io.scm (rust-capnp-rpc-0.19): New variable.
(rust-capnp-rpc-0.14): Inherit from rust-capnp-rpc-0.19.

Change-Id: I1519f6724746a31b9d4dac7e6dd9edbbdfadbef8
This commit is contained in:
Efraim Flashner 2024-03-31 20:44:59 +03:00
parent 345ab72e65
commit 0f25e08a5c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -10842,8 +10842,32 @@ (define-public rust-capnp-futures-0.13
(("rust-capnp" ,rust-capnp-0.13) (("rust-capnp" ,rust-capnp-0.13)
("rust-quickcheck" ,rust-quickcheck-0.9)))))) ("rust-quickcheck" ,rust-quickcheck-0.9))))))
(define-public rust-capnp-rpc-0.19
(package
(name "rust-capnp-rpc")
(version "0.19.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "capnp-rpc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "05hahpmfjnn49mzv4b2zp4y6si9g6yvjy6kgm2ia9apndjcbl78p"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-capnp" ,rust-capnp-0.19)
("rust-capnp-futures" ,rust-capnp-futures-0.19)
("rust-futures" ,rust-futures-0.3))))
(native-inputs (list capnproto))
(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-capnp-rpc-0.14 (define-public rust-capnp-rpc-0.14
(package (package
(inherit rust-capnp-rpc-0.19)
(name "rust-capnp-rpc") (name "rust-capnp-rpc")
(version "0.14.1") (version "0.14.1")
(source (origin (source (origin
@ -10853,19 +10877,11 @@ (define-public rust-capnp-rpc-0.14
(sha256 (sha256
(base32 (base32
"0pm9bjw481lw1zp8lmzkpsjrb85lbjg5s46piqbc3wk8dzwifksc")))) "0pm9bjw481lw1zp8lmzkpsjrb85lbjg5s46piqbc3wk8dzwifksc"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:cargo-inputs `(#:cargo-inputs
(("rust-capnp" ,rust-capnp-0.14) (("rust-capnp" ,rust-capnp-0.14)
("rust-capnp-futures" ,rust-capnp-futures-0.14) ("rust-capnp-futures" ,rust-capnp-futures-0.14)
("rust-futures" ,rust-futures-0.3)))) ("rust-futures" ,rust-futures-0.3))))))
(native-inputs
(list capnproto))
(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-capnp-rpc-0.13 (define-public rust-capnp-rpc-0.13
(package (package