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>
This commit is contained in:
VÖRÖSKŐI András 2024-02-24 21:39:37 +01:00 committed by Efraim Flashner
parent 66c29c506a
commit a5010c13c9
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -75476,8 +75476,36 @@ (define-public rust-terminal-size-0.1
`(("rust-libc" ,rust-libc-0.2)
("rust-winapi" ,rust-winapi-0.3))))))
(define-public rust-terminfo-0.8
(package
(name "rust-terminfo")
(version "0.8.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "terminfo" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "13s9920jzmnr0jidik8yn6gvkic9n39sl28440mx4x8pd2kd6v36"))))
(build-system cargo-build-system)
(arguments
`(#: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
@ -75487,19 +75515,13 @@ (define-public rust-terminfo-0.7
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0zkln56bsixjad6rsfy9mm15d9ygm89i63cn3gn685hjwrvik5vn"))))
(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))))
(home-page "https://github.com/meh/rust-terminfo")
(synopsis "Terminal information")
(description "Terminal capabilities with type-safe getters.")
(license license:wtfpl2)))
#: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