summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-12 15:28:13 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-12 16:09:37 +0100
commit56613cc61936f9c9031ab04ab1c1634efd2d6575 (patch)
tree82fb76154ea6bb8c3bb00701b03434ef401d2c96
parent1fcaac794170629093f9b34aa99af4ddff479d1a (diff)
downloadguix-56613cc61936f9c9031ab04ab1c1634efd2d6575.tar.gz
gnu: Add rust-minus-3.
* gnu/packages/crates-io.scm (rust-minus-3): New variable.
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3e386aed2a..e1628bf565 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23500,6 +23500,34 @@ drop-in replacement for miniz.")
      "This package provides math interoperability standard types.")
     (license license:expat)))
 
+(define-public rust-minus-3
+  (package
+    (name "rust-minus")
+    (version "3.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "minus" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1f5kx0q3pc04zlaf0dv2vmbzza65kjdr1h9kk8x716fyzc0w5pga"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-async-std" ,rust-async-std-1)
+        ("rust-crossterm" ,rust-crossterm-0.19)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-thiserror" ,rust-thiserror-1)
+        ("rust-tokio" ,rust-tokio-1))))
+    (home-page "https://github.com/arijit79/minus")
+    (synopsis "Asynchronous paging library for Rust")
+    (description
+     "Minus is a fast, asynchronous terminal paging library for Rust.  It
+provides high level functionalities to easily write a pager for any terminal
+application.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-mio-0.7
   (package
     (name "rust-mio")