mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-21 09:37:03 +01:00
gnu: Add rust-term-1.
* gnu/packages/crates-io.scm (rust-term-1): New variable. (rust-term-0.7): Inherit from rust-term-1. Change-Id: Ic109b0bd43e4bf527f0de56cba601a1f49a4caee
This commit is contained in:
parent
ea09d052ec
commit
e2109a3cbf
1 changed files with 22 additions and 7 deletions
|
@ -85932,8 +85932,29 @@ (define-public rust-tera-1
|
|||
template language.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-term-1
|
||||
(package
|
||||
(name "rust-term")
|
||||
(version "1.0.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "term" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0h8s95mpfbvhada0pgvdsk59x5nsnnvzi1q94qi83affmw0n1fx3"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs (("rust-home" ,rust-home-0.5)
|
||||
("rust-windows-sys" ,rust-windows-sys-0.52))))
|
||||
(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.7
|
||||
(package
|
||||
(inherit rust-term-1)
|
||||
(name "rust-term")
|
||||
(version "0.7.0")
|
||||
(source
|
||||
|
@ -85943,18 +85964,12 @@ (define-public rust-term-0.7
|
|||
(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))))
|
||||
("rust-winapi" ,rust-winapi-0.3))))))
|
||||
|
||||
(define-public rust-term-0.6
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue