summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-11 00:37:57 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:51:06 +0100
commita0bee4e4129656b8f4f10eba57b7e593b7284f7f (patch)
treee0a944333574f46e8d0fa39fa9a7bf84418498b2
parent85e9bd7cd0a9beb666851b0ca6e5f4940c373ed8 (diff)
downloadguix-a0bee4e4129656b8f4f10eba57b7e593b7284f7f.tar.gz
gnu: Add rust-nu-plugin-fetch-0.26.
* gnu/packages/shells.scm (rust-nu-plugin-fetch-0.26): New variable.
-rw-r--r--gnu/packages/shells.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 8fc8782652..e881a46a95 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -1381,6 +1381,34 @@ files and text.")
     (description "Nushell Plugin")
     (license expat)))
 
+(define-public rust-nu-plugin-fetch-0.26
+  (package
+    (name "rust-nu-plugin-fetch")
+    (version "0.26.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nu_plugin_fetch" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0f61f3n5wdzqwfi94ym8j60sd1wah1z1gdyhyg60fbyygd9scm4r"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-base64" ,rust-base64-0.13)
+        ("rust-futures" ,rust-futures-0.3)
+        ("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-surf" ,rust-surf-1)
+        ("rust-url" ,rust-url-2))))
+    (home-page "https://www.nushell.sh")
+    (synopsis "URL fetch plugin for Nushell")
+    (description "This package provides a URL fetch plugin for Nushell.")
+    (license expat)))
+
 (define-public rust-nu-plugin-from-bson-0.26
   (package
     (name "rust-nu-plugin-from-bson")