From 5df9acb1cc961be8286f70fa3cf34f1db5d13c9b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 24 Oct 2023 09:10:39 +0300 Subject: [PATCH] gnu: Add rust-conpty-0.5. * gnu/packages/crates-io.scm (rust-conpty-0.5): New variable. Change-Id: I2675cc8353d23277708254ea2e4451e683c47f4c --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 94f56c2196..6d9a306acb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14479,6 +14479,30 @@ (define-public rust-compound-duration-1 minutes, seconds.") (license license:bsd-3))) +(define-public rust-conpty-0.5 + (package + (name "rust-conpty") + (version "0.5.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "conpty" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nmkhiysnssvbi4kqaq8cybb0ffngbl64kfpk8s86ihdg940caxp")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Specifically for Windows. + #:cargo-inputs + (("rust-windows" ,rust-windows-0.44)) + #:cargo-development-inputs + (("rust-strip-ansi-escapes" ,rust-strip-ansi-escapes-0.1)))) + (home-page "https://github.com/zhiburt/conpty") + (synopsis "Library which provides an interface for ConPTY") + (description + "This package provides a library which provides an interface for @code{ConPTY}.") + (license license:expat))) + (define-public rust-const-cstr-0.3 (package (name "rust-const-cstr")