aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-08-28 15:59:03 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-08-28 16:53:04 +0300
commit33d93a0aec86a60c9e2c2033b2c1cebb9617bb06 (patch)
tree8d2946ed1a23475b849f6af9df6bf3ad0857f983
parentc4b7a9abb654c84d815dbd927f0a6c259bd336a0 (diff)
downloadpatches-33d93a0aec86a60c9e2c2033b2c1cebb9617bb06.tar
patches-33d93a0aec86a60c9e2c2033b2c1cebb9617bb06.tar.gz
gnu: Add rust-iovec.
* gnu/packages/crates-io.scm (rust-iovec): New variable.
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 03f2a11445..21724d1778 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -518,6 +518,30 @@ hexadecimal representation.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-iovec
+ (package
+ (name "rust-iovec")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "iovec" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "025vi072m22299z3fg73qid188z2iip7k41ba6v5v5yhwwby9rnv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc)
+ ("rust-winapi" ,rust-winapi-0.2))))
+ (home-page "https://github.com/carllerche/iovec")
+ (synopsis "Portable buffer type for scatter/gather I/O operations")
+ (description
+ "Portable buffer type for scatter/gather I/O operations.")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-itoa
(package
(name "rust-itoa")