diff options
author | Jaeme Sifat <jaeme@runbox.com> | 2023-12-29 19:40:18 -0500 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:01 +0200 |
commit | 788e4c5c740930fcfc345189a2a216f69e6a87a1 (patch) | |
tree | 95a8cb7555fccfa731601cf3b6e6f2c4be4539b0 /gnu | |
parent | c71d59ac85073d8e17abcb291d07c36b766824ed (diff) | |
download | guix-788e4c5c740930fcfc345189a2a216f69e6a87a1.tar.gz guix-788e4c5c740930fcfc345189a2a216f69e6a87a1.zip |
gnu: Add rust-nu-ansi-term-0.49.
* gnu/packages/shells.scm (rust-nu-ansi-term-0.49): New variable.
(rust-nu-ansi-term-0.44): Inherit from rust-nu-ansi-term-0.49.
Change-Id: If8ee4fef35b620df3a49dab845419bfdc7523062
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/shells.scm | 36 |
1 files changed, 29 insertions, 7 deletions
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index cfbc4cd97e..29307bd8c6 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2022 Andrew Tropin <andrew@trop.in> ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2023 David Pflug <david@pflug.io> +;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com> ;;; Copyright © 2024 Tanguy Le Carrour <tanguy@bioneland.org> ;;; ;;; This file is part of GNU Guix. @@ -1036,8 +1037,35 @@ directory. These values can be piped through a series of steps, in a series of commands called a ``pipeline''.") (license license:expat))) +(define-public rust-nu-ansi-term-0.49 + (package + (name "rust-nu-ansi-term") + (version "0.49.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "nu-ansi-term" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0s2svfnircd9jp06wk55qcbb9v5cadkfcjfg99vm21qdjg0x6wy0")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1) + ("rust-windows-sys" ,rust-windows-sys-0.48)) + #:cargo-development-inputs + (("rust-doc-comment" ,rust-doc-comment-0.3) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://www.nushell.sh") + (synopsis "Library for ANSI terminal colors and styles (bold, underline)") + (description + "This package is a library for ANSI terminal colors and styles (bold, +underline).") + (license license:expat))) + (define-public rust-nu-ansi-term-0.44 (package + (inherit rust-nu-ansi-term-0.49) (name "rust-nu-ansi-term") (version "0.44.0") (source @@ -1054,13 +1082,7 @@ of commands called a ``pipeline''.") (("rust-doc-comment" ,rust-doc-comment-0.3) ("rust-overload" ,rust-overload-0.1) ("rust-serde" ,rust-serde-1) - ("rust-winapi" ,rust-winapi-0.3)))) - (home-page "https://www.nushell.sh") - (synopsis "Library for ANSI terminal colors and styles (bold, underline)") - (description - "This package is a library for ANSI terminal colors and styles (bold, -underline).") - (license license:expat))) + ("rust-winapi" ,rust-winapi-0.3)))))) (define-public rust-nu-cli-0.44 (package |