aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2020-01-21 09:56:55 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-02-06 10:48:14 +0200
commita3c072c77a7187f797a57e11eed115cfe28389db (patch)
tree56e92c463e9ca89e2b74c2d484fc12545b015262
parenta1add81e635116c580589d0f83a20513868e7dcc (diff)
downloadpatches-a3c072c77a7187f797a57e11eed115cfe28389db.tar
patches-a3c072c77a7187f797a57e11eed115cfe28389db.tar.gz
gnu: Add rust-ansi-term-0.12.
* gnu/packages/crates-io.scm (rust-ansi-term-0.12): New variable. (rust-ansi-term-0.11)[inherit]: New field, inherit from rust-ansi-term-0.12. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm34
1 files changed, 28 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c6e4beec62..9be5600692 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -185,10 +185,10 @@ Rust, using gimli.")
("rust-serde" ,rust-serde-1.0)
("rust-serde-derive" ,rust-serde-derive-1.0))))))
-(define-public rust-ansi-term-0.11
+(define-public rust-ansi-term-0.12
(package
(name "rust-ansi-term")
- (version "0.11.0")
+ (version "0.12.1")
(source
(origin
(method url-fetch)
@@ -196,12 +196,16 @@ Rust, using gimli.")
(file-name (string-append name "-" version ".crate"))
(sha256
(base32
- "16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf"))))
+ "1ljmkbilxgmhavxvxqa7qvm6f3fjggi7q2l3a72q9x0cxjvrnanm"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-winapi" ,rust-winapi-0.3))))
+ `(#:cargo-inputs
+ (("rust-serde" ,rust-serde-1.0)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-regex" ,rust-regex-1.3)
+ ("rust-serde-json" ,rust-serde-json-1.0))))
(home-page "https://github.com/ogham/rust-ansi-term")
(synopsis "Library for ANSI terminal colours and styles")
(description
@@ -209,6 +213,24 @@ Rust, using gimli.")
text or blue underlined text, on ANSI terminals.")
(license license:expat)))
+(define-public rust-ansi-term-0.11
+ (package
+ (inherit rust-ansi-term-0.12)
+ (name "rust-ansi-term")
+ (version "0.11.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ansi_term" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32
+ "16wpvrghvd0353584i1idnsgm0r3vchg8fyrm0x8ayv1rgvbljgf"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-winapi" ,rust-winapi-0.3))))))
+
(define-public rust-antidote-1.0
(package
(name "rust-antidote")