aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorVÖRÖSKŐI András <voroskoi@gmail.com>2024-02-24 21:39:37 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:44:04 +0300
commita5010c13c9138e73efe5cffca7ccfdda37199a71 (patch)
tree7c06e052978e9b9d4abcad7cad90e286104c056e /gnu/packages
parent66c29c506a5b9fe87514580242737e7088dc3520 (diff)
downloadguix-a5010c13c9138e73efe5cffca7ccfdda37199a71.tar.gz
guix-a5010c13c9138e73efe5cffca7ccfdda37199a71.zip
gnu: Add rust-terminfo-0.8.
* gnu/packages/crates-io.scm (rust-terminfo-0.8): New variable. (rust-terminfo-0.7): Inherit from rust-terminfo-0.8. Change-Id: I089182a103780939bdb07c57cfc22dce5b392a66 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm42
1 files changed, 32 insertions, 10 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b42ddf10fa..5ed6d349d5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -75476,31 +75476,53 @@ writing colored text to a terminal.")
`(("rust-libc" ,rust-libc-0.2)
("rust-winapi" ,rust-winapi-0.3))))))
-(define-public rust-terminfo-0.7
+(define-public rust-terminfo-0.8
(package
(name "rust-terminfo")
- (version "0.7.3")
+ (version "0.8.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "terminfo" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0zkln56bsixjad6rsfy9mm15d9ygm89i63cn3gn685hjwrvik5vn"))))
+ (base32 "13s9920jzmnr0jidik8yn6gvkic9n39sl28440mx4x8pd2kd6v36"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-dirs" ,rust-dirs-2)
- ("rust-fnv" ,rust-fnv-1)
- ("rust-nom" ,rust-nom-5)
- ("rust-phf" ,rust-phf-0.8)
- ("rust-phf-codegen" ,rust-phf-codegen-0.8))))
+ `(#:cargo-test-flags '("--release" "--"
+ "--skip=Database"
+ "--skip=expand::expand"
+ "--skip=src/lib.rs")
+ #:cargo-inputs (("rust-dirs" ,rust-dirs-4)
+ ("rust-fnv" ,rust-fnv-1)
+ ("rust-nom" ,rust-nom-7)
+ ("rust-phf" ,rust-phf-0.11)
+ ("rust-phf-codegen" ,rust-phf-codegen-0.11))))
(home-page "https://github.com/meh/rust-terminfo")
(synopsis "Terminal information")
(description "Terminal capabilities with type-safe getters.")
(license license:wtfpl2)))
+(define-public rust-terminfo-0.7
+ (package
+ (inherit rust-terminfo-0.8)
+ (name "rust-terminfo")
+ (version "0.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "terminfo" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0zkln56bsixjad6rsfy9mm15d9ygm89i63cn3gn685hjwrvik5vn"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-dirs" ,rust-dirs-2)
+ ("rust-fnv" ,rust-fnv-1)
+ ("rust-nom" ,rust-nom-5)
+ ("rust-phf" ,rust-phf-0.8)
+ ("rust-phf-codegen" ,rust-phf-codegen-0.8))))))
+
(define-public rust-termion-3
(package
(name "rust-termion")