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.
This commit is contained in:
Efraim Flashner 2023-05-22 16:41:18 +03:00
parent f5e539a75e
commit 2792d085f4
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -9936,8 +9936,35 @@ (define-public rust-capnp-0.13
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 @@ (define-public rust-capnp-futures-0.13
(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