diff options
author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2020-04-24 23:31:55 +0200 |
---|---|---|
committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2020-05-05 13:20:40 +0200 |
commit | 6001456946ae18a7e616c810c4069449f3092c02 (patch) | |
tree | 3b5eaadf600caa06d907218c493d1d1ee312e149 | |
parent | e645d58ce1574008a6cdd9269bc9bff9fa185402 (diff) | |
download | guix-6001456946ae18a7e616c810c4069449f3092c02.tar.gz |
gnu: Add rust-tokio-mockstream-1.
* gnu/packages/crates-io.scm (rust-tokio-mockstream-1): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e9796b8757..230e1d27a6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24060,6 +24060,31 @@ futures efficiently") (description "Mock a Tokio task.") (license license:expat))) +(define-public rust-tokio-mockstream-1 + (package + (name "rust-tokio-mockstream") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-mockstream" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mg1i39cl8x32wxwbn74hlirks8a6f3g0gfzkb0n0zwbxwvc9gs1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures" ,rust-futures-0.1) + ("rust-tokio-io" ,rust-tokio-io-0.1)) + #:cargo-development-inputs + (("rust-bytes" ,rust-bytes-0.4)))) + (home-page "https://github.com/aatxe/tokio-mockstream") + (synopsis "Fake stream for testing network applications backed by +buffers") + (description "This package provides a fake stream for testing network +applications backed by buffers.") + (license (list license:expat license:asl2.0)))) + (define-public rust-tokio-named-pipes-0.1 (package (name "rust-tokio-named-pipes") |