From cd5a15842657d3c1ef51b0b7055bbdda7b487496 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 2 Aug 2023 20:14:18 +0300 Subject: gnu: Add rust-ordered-stream-0.1. * gnu/packages/crates-io.scm (rust-ordered-stream-0.1): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index df05d36f98..004e7a14e9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -43552,6 +43552,31 @@ PartialOrd types, like floats.") insertion order across all keys and values.") (license license:expat))) +(define-public rust-ordered-stream-0.1 + (package + (name "rust-ordered-stream") + (version "0.1.4") + (source (origin + (method url-fetch) + (uri (crate-uri "ordered-stream" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "140c0h0ap30mcfhdk2xy1q9iqyb450wh11dglshh2y6vmjyj82in")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-futures-core" ,rust-futures-core-0.3) + ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)) + #:cargo-development-inputs + (("rust-futures-executor" ,rust-futures-executor-0.3) + ("rust-futures-util" ,rust-futures-util-0.3)))) + (home-page "https://github.com/danieldg/ordered-stream") + (synopsis "Streams that are ordered relative to external events") + (description "This package provides streams that are ordered relative to +external events in Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-ordermap-0.3 (package (name "rust-ordermap") -- cgit v1.2.3