summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-11 00:32:28 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:51:03 +0100
commita6149c355175ada83de4411806862ae075004a10 (patch)
tree33c5371aee3e587852efd23ebb767741f78e20dd
parent08dd8887e10ba4c6862b998c24bce1623b7d8380 (diff)
downloadguix-a6149c355175ada83de4411806862ae075004a10.tar.gz
gnu: Add rust-nu-plugin-textview-0.26.
* gnu/packages/shells.scm (rust-nu-plugin-textview-0.26): New variable.
-rw-r--r--gnu/packages/shells.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index ce2cc30d6b..bbafcc47d4 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -54,6 +54,7 @@
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages readline)
+  #:use-module (gnu packages rust-apps)
   #:use-module (gnu packages scheme)
   #:use-module (guix build-system cargo)
   #:use-module (guix build-system cmake)
@@ -1380,6 +1381,36 @@ files and text.")
     (description "Nushell Plugin")
     (license expat)))
 
+(define-public rust-nu-plugin-textview-0.26
+  (package
+    (name "rust-nu-plugin-textview")
+    (version "0.26.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nu_plugin_textview" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12zxphslc56n7s60i8603pq4g9iji58fg5zjvx2g6b06h83070qv"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("bat" ,bat)
+        ("rust-ansi-term" ,rust-ansi-term-0.12)
+        ("rust-nu-data" ,rust-nu-data-0.26)
+        ("rust-nu-errors" ,rust-nu-errors-0.26)
+        ("rust-nu-plugin" ,rust-nu-plugin-0.26)
+        ("rust-nu-protocol" ,rust-nu-protocol-0.26)
+        ("rust-nu-source" ,rust-nu-source-0.26)
+        ("rust-term-size" ,rust-term-size-0.3)
+        ("rust-url" ,rust-url-2))))
+    (home-page "https://www.nushell.sh")
+    (synopsis "Text viewer plugin for Nushell")
+    (description "This package provides a text viewer plugin for
+Nushell.")
+    (license expat)))
+
 (define-public rust-nu-plugin-to-bson-0.26
   (package
     (name "rust-nu-plugin-to-bson")