From d31e8e38dac93eb43add7e97ad34bb431d610906 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 24 Oct 2023 09:10:36 +0300 Subject: [PATCH] gnu: Add rust-ptyprocess-0.4. * gnu/packages/crates-io.scm (rust-ptyprocess-0.4): New variable. Change-Id: I72b82dbfd2cb9daeefc002f84628a41729a8710e --- 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 c1547308ad..f7adf57ab1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -54197,6 +54197,30 @@ (define-public rust-ptree-0.4 configuration file and/or environment variables.") (license (list license:expat license:asl2.0)))) +(define-public rust-ptyprocess-0.4 + (package + (name "rust-ptyprocess") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ptyprocess" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kz8gzsr2pjpxcxy708338wcdqnxg3cpfbca8q8a44gvpvvsw1by")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + ;; Some of the tests hang in the build environment. + "--skip=cat_intr") + #:cargo-inputs (("rust-nix" ,rust-nix-0.26)))) + (home-page "https://github.com/zhiburt/ptyprocess") + (synopsis "Library to work with PTY/TTY on Unix systems") + (description + "This package provides a library to work with PTY/TTY on Unix systems.") + (license license:expat))) + (define-public rust-publicsuffix-2 (package (name "rust-publicsuffix")