From b6544aba743aa1690c9aee69dd6cc0beb7b84fea Mon Sep 17 00:00:00 2001 From: Aleksandr Vityazev Date: Mon, 17 Jan 2022 13:23:50 +0000 Subject: [PATCH] gnu: Add rust-os-pipe-0.5. * gnu/packages/crates-io.scm (rust-os-pipe-0.5): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7d44da4319..b4fc6e3b2f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -37213,6 +37213,27 @@ (define-public rust-os-pipe-0.9 "A cross-platform library for opening OS pipes.") (license license:expat))) +(define-public rust-os-pipe-0.5 + (package + (inherit rust-os-pipe-0.9) + (name "rust-os-pipe") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "os-pipe" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1ccwc7caq3hhgxyrglkl2fw8qzkx0kxanh9azs852w9f0jrzp2wr")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-kernel32-sys" ,rust-kernel32-sys-0.2) + ("rust-nix" ,rust-nix-0.8) + ("rust-winapi" ,rust-winapi-0.2)))))) + (define-public rust-os-str-bytes-2 (package (name "rust-os-str-bytes")