guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#50362] [PATCH 05/26] gnu: Add rust-bufstream-0.1.


From: phodina
Subject: [bug#50362] [PATCH 05/26] gnu: Add rust-bufstream-0.1.
Date: Fri, 03 Sep 2021 22:37:05 +0000

* gnu/packages/crates-io.scm (rust-bufstream-0.1): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d8952e58ad..e623e39028 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6162,6 +6162,36 @@ system calls.  Second, exposing the internal buffer 
allows the user to work
 with data in place, which avoids another copy.")
     (license license:gpl3)))

+(define-public rust-bufstream-0.1
+  (package
+    (name "rust-bufstream")
+    (version "0.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bufstream" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1j7f52rv73hd1crzrrfb9dr50ccmi3hb1ybd6s5dyg6jmllqkqs0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build?
+       #t
+       #:cargo-inputs
+       (("rust-futures" ,rust-futures-0.1)
+        ("rust-tokio-io" ,rust-tokio-io-0.1))))
+    (home-page
+     "https://github.com/alexcrichton/bufstream";)
+    (synopsis
+     "Buffered I/O for streams where each read/write half is separately 
buffered
+")
+    (description
+     "Buffered I/O for streams where each read/write half is separately 
buffered
+")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-bugreport-0.4
   (package
     (name "rust-bugreport")
--
2.32.0





reply via email to

[Prev in Thread] Current Thread [Next in Thread]