aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-09 22:58:43 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:49:50 +0100
commit6fe48324790166a27af0cc7221353a328c60ec84 (patch)
tree48f0a3a1e45c0f4e5bfacd55fc056c65cc8d6793
parent9619ffd2525cd07fd9da5054e86bf5e4433ba980 (diff)
downloadguix-6fe48324790166a27af0cc7221353a328c60ec84.tar.gz
guix-6fe48324790166a27af0cc7221353a328c60ec84.zip
gnu: Add rust-ncurses-5.
* gnu/packages/crates-io.scm (rust-ncurses-5): New variable.
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 90dac3879e..72961b90e7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21668,6 +21668,31 @@ a non-blocking way, without waiting for the connection to become fully
established.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-ncurses-5
+ (package
+ (name "rust-ncurses")
+ (version "5.100.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ncurses" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ss1ia7skbs5x2p5lccp38qmm3xnkq7spcp8cyr4yvvz5350gnx7"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-cc" ,rust-cc-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (home-page "https://github.com/jeaye/ncurses-rs")
+ (synopsis "Thin wrapper around the @code{ncurses} TUI library")
+ (description
+ "This package provides a very thin wrapper around the @code{ncurses} TUI
+library.")
+ (license license:expat)))
+
(define-public rust-ndarray-0.12
(package
(name "rust-ndarray")