diff options
author | Zheng Junjie <873216071@qq.com> | 2021-02-05 22:06:01 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-02-05 22:06:01 +0100 |
commit | 8b3e074ebf037e8332a41130f206106d3efd181c (patch) | |
tree | 20245f4b1977f37dd1c6867a0190471bcf6c8d8d /gnu | |
parent | d1058aebee2a60adc5b93e825bc49b66cab1dabc (diff) | |
download | guix-8b3e074ebf037e8332a41130f206106d3efd181c.tar guix-8b3e074ebf037e8332a41130f206106d3efd181c.tar.gz |
gnu: Add rust-tuikit-0.4.
* gnu/packages/crates-io.scm (rust-tuikit-0.4): New variable.
(rust-tuikit-0.2): Inherit from above.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 39 |
1 files changed, 32 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 55a9ef90b5..994de8cb7f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net> ;;; Copyright © 2021 aecepoglu <aecepoglu@fastmail.fm> +;;; Copyright @ 2021 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -39755,8 +39756,38 @@ extension for the Trust-DNS client to use rustls for TLS.") parser.") (license (list license:expat license:asl2.0)))) +(define-public rust-tuikit-0.4 + (package + (name "rust-tuikit") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "tuikit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1hf6pgclb2lj08jzb45q0mpjq2a9zw27h7kwyi5cibjz5skd054b")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-nix" ,rust-nix-0.14) + ("rust-term" ,rust-term-0.6) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs + (("rust-env-logger" ,rust-env-logger-0.6)))) + (home-page "https://github.com/lotabout/tuikit") + (synopsis "Toolkit for writing TUI applications") + (description + "This package provides a toolkit for writing TUI applications in Rust.") + (license license:expat))) + (define-public rust-tuikit-0.2 (package + (inherit rust-tuikit-0.4) (name "rust-tuikit") (version "0.2.9") (source @@ -39768,7 +39799,6 @@ parser.") (sha256 (base32 "19f3jp12kqcx7aaykxbaj1j17zahd4drv049agpxaminr63w2sw4")))) - (build-system cargo-build-system) (arguments `(#:tests? #f ; tests fail in the build environment. #:cargo-inputs @@ -39779,12 +39809,7 @@ parser.") ("rust-term" ,rust-term-0.5) ("rust-unicode-width" ,rust-unicode-width-0.1)) #:cargo-development-inputs - (("rust-env-logger" ,rust-env-logger-0.6)))) - (home-page "https://github.com/lotabout/tuikit") - (synopsis "Toolkit for writing TUI applications") - (description - "This package provides a toolkit for writing TUI applications in Rust.") - (license license:expat))) + (("rust-env-logger" ,rust-env-logger-0.6)))))) (define-public rust-typeable-0.1 (package |