summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-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