summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-07 17:25:00 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:34 +0200
commit1f513b250c43fd151a6211bf8f79b00822d3ae01 (patch)
tree20702f67b7b744071e522159fd9b65d30494c002 /gnu/packages
parent4e549daedb4eac799e001567a6a310beabd5180c (diff)
gnu: rust-nu-ansi-term-0.46: Move to (gnu packages shells).
* gnu/packages/crates-io.scm (rust-nu-ansi-term-0.46): Move from here ... * gnu/packages/shells.scm: ... to here. Change-Id: I0197e71814ef747ad0667a33853c3228742b3a05
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm28
-rw-r--r--gnu/packages/shells.scm21
2 files changed, 22 insertions, 27 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0695c83be6..10527e7e92 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -108,6 +108,7 @@
#:use-module (gnu packages rust-apps)
#:use-module (gnu packages sequoia)
#:use-module (gnu packages serialization)
+ #:use-module (gnu packages shells)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages ssh)
#:use-module (gnu packages tls)
@@ -44070,33 +44071,6 @@ macros used in ntest.")
(description "Types and traits for working with bytes (bytes crate fork)")
(license license:expat)))
-(define-public rust-nu-ansi-term-0.46
- (package
- (name "rust-nu-ansi-term")
- (version "0.46.0")
- (source (origin
- (method url-fetch)
- (uri (crate-uri "nu-ansi-term" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "115sywxh53p190lyw97alm14nc004qj5jm5lvdj608z84rbida3p"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-overload" ,rust-overload-0.1)
- ("rust-serde" ,rust-serde-1)
- ("rust-winapi" ,rust-winapi-0.3))
- #:cargo-development-inputs
- (("rust-doc-comment" ,rust-doc-comment-0.3)
- ("rust-regex" ,rust-regex-1)
- ("rust-serde-json" ,rust-serde-json-1))))
- (home-page "https://github.com/nushell/nu-ansi-term")
- (synopsis "Library for ANSI terminal colors and styles (bold, underline)")
- (description
- "This package provides a library for ANSI terminal colors and styles (bold,
-underline) in rust.")
- (license license:expat)))
-
(define-public rust-num-0.4
(package
(name "rust-num")
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 29307bd8c6..770149ebe6 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -1063,6 +1063,27 @@ of commands called a ``pipeline''.")
underline).")
(license license:expat)))
+(define-public rust-nu-ansi-term-0.46
+ (package
+ (inherit rust-nu-ansi-term-0.49)
+ (name "rust-nu-ansi-term")
+ (version "0.46.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "nu-ansi-term" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "115sywxh53p190lyw97alm14nc004qj5jm5lvdj608z84rbida3p"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-overload" ,rust-overload-0.1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde-json" ,rust-serde-json-1))))))
+
(define-public rust-nu-ansi-term-0.44
(package
(inherit rust-nu-ansi-term-0.49)