summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-16 22:07:31 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-16 23:36:07 +0100
commit1d84cd8a8c0069478f7bb1eac2678d4e3b945f89 (patch)
tree272c9feeabf998dd39fc74b9be315f34e0ce1a14 /gnu/packages/crates-io.scm
parent6f8755f2eb14288709f16f0e619fe18f0b24e20a (diff)
gnu: Add rust-term-0.7.
* gnu/packages/crates-io.scm (rust-term-0.7): New variable. (rust-term-0.6): Inherit from above.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm63
1 files changed, 41 insertions, 22 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d63b2ba5da..cd469be8cf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40562,29 +40562,48 @@ directories.")
template language.")
(license license:expat)))
+(define-public rust-term-0.7
+ (package
+ (name "rust-term")
+ (version "0.7.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "term" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "07xzxmg7dbhlirpyfq09v7cfb9gxn0077sqqvszgjvyrjnngi7f5"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-dirs-next" ,rust-dirs-next-2)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/Stebalien/term")
+ (synopsis "Terminal formatting library")
+ (description
+ "This package provides a terminal formatting library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-term-0.6
- (package
- (name "rust-term")
- (version "0.6.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "term" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1ddqxq9hrk8zqq1f8pqhz72vrlfc8vh2xcza2gb623z78lrkm1n0"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-dirs" ,rust-dirs-2)
- ("rust-winapi" ,rust-winapi-0.3))))
- (home-page "https://github.com/Stebalien/term")
- (synopsis "Terminal formatting library")
- (description
- "This package provides a terminal formatting library.")
- (license (list license:expat license:asl2.0))))
+ (package
+ (inherit rust-term-0.7)
+ (name "rust-term")
+ (version "0.6.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "term" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1ddqxq9hrk8zqq1f8pqhz72vrlfc8vh2xcza2gb623z78lrkm1n0"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-dirs" ,rust-dirs-2)
+ ("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-term-0.5
(package