summary refs log tree commit diff
path: root/gnu/packages/shells.scm
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-11 00:32:12 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:51:02 +0100
commit08dd8887e10ba4c6862b998c24bce1623b7d8380 (patch)
tree8f6b0a64b63900a376cad6430b5ccbf5f40d6729 /gnu/packages/shells.scm
parent13501d8bd7a2513507d9df57d6d07bcbc6aaa4d9 (diff)
downloadguix-08dd8887e10ba4c6862b998c24bce1623b7d8380.tar.gz
gnu: Add rust-nu-plugin-to-bson-0.26.
* gnu/packages/shells.scm (rust-nu-plugin-to-bson-0.26): New variable.
Diffstat (limited to 'gnu/packages/shells.scm')
-rw-r--r--gnu/packages/shells.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 24a4cddd06..ce2cc30d6b 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -1380,6 +1380,35 @@ files and text.")
     (description "Nushell Plugin")
     (license expat)))
 
+(define-public rust-nu-plugin-to-bson-0.26
+  (package
+    (name "rust-nu-plugin-to-bson")
+    (version "0.26.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nu_plugin_to_bson" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1vpd5j2z2jjqbf8ks6df76xr86rim1wr7x3y1m77c4v1icsnxgzs"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-bson" ,rust-bson-0.14)
+        ("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-nu-value-ext" ,rust-nu-value-ext-0.26)
+        ("rust-num-traits" ,rust-num-traits-0.2))))
+    (home-page "https://www.nushell.sh")
+    (synopsis "Converter plugin to the bson format for Nushell")
+    (description
+     "This package provides a converter plugin to the bson format for
+Nushell.")
+    (license expat)))
+
 (define-public rust-nu-plugin-to-sqlite-0.26
   (package
     (name "rust-nu-plugin-to-sqlite")