summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-09 23:01:28 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:49:50 +0100
commit7ad7130114eae1dbfd78309848f098b0bd37190b (patch)
treec9712873383360b3cac744683c939268a5ee744f
parent6fe48324790166a27af0cc7221353a328c60ec84 (diff)
downloadguix-7ad7130114eae1dbfd78309848f098b0bd37190b.tar.gz
gnu: Add rust-pancurses-0.16.
* gnu/packages/crates-io.scm (rust-pancurses-0.16): 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 72961b90e7..0f1a67b002 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24185,6 +24185,31 @@ normally prevent moving a type that has been borrowed from.")
      "Automatically implement traits from the palette crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-pancurses-0.16
+  (package
+    (name "rust-pancurses")
+    (version "0.16.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pancurses" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1w0gknaz07fzq7gw7zjg1bg9xr7srp2z3zksmjr9cc23gk1qn1fk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-ncurses" ,rust-ncurses-5)
+        ("rust-pdcurses-sys" ,rust-pdcurses-sys-0.7)
+        ("rust-winreg" ,rust-winreg-0.5))))
+    (home-page "https://github.com/ihalila/pancurses")
+    (synopsis "@code{curses} library for Rust")
+    (description "@code{pancurses} is a @code{curses} library for Rust.")
+    (license license:expat)))
+
 (define-public rust-parity-tokio-ipc-0.4
   (package
     (name "rust-parity-tokio-ipc")