summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-11 00:36:26 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:51:04 +0100
commit21fec9f8fd98d05c34d293c00b68d66396e8e967 (patch)
treecdc115913c3be4b4248435be959fde82bc595286 /gnu
parent4244cc9aa2a82029f35cd567ea95b073802bc2ec (diff)
downloadguix-21fec9f8fd98d05c34d293c00b68d66396e8e967.tar.gz
gnu: Add rust-nu-plugin-post-0.26.
* gnu/packages/shells.scm (rust-nu-plugin-post-0.26): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/shells.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 0bdc50bb22..b749c34c27 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -1381,6 +1381,36 @@ files and text.")
     (description "Nushell Plugin")
     (license expat)))
 
+(define-public rust-nu-plugin-post-0.26
+  (package
+    (name "rust-nu-plugin-post")
+    (version "0.26.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nu_plugin_post" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "05frjzgrci7f9fvfqls3067ipnn2ihqxydimi7kbwajs0kzj7b45"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-base64" ,rust-base64-0.12)
+        ("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-num-traits" ,rust-num-traits-0.2)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-surf" ,rust-surf-1)
+        ("rust-url" ,rust-url-2))))
+    (home-page "https://www.nushell.sh")
+    (synopsis "HTTP post plugin for Nushell")
+    (description "This package is an HTTP post plugin for Nushell.")
+    (license expat)))
+
 (define-public rust-nu-plugin-ps-0.26
   (package
     (name "rust-nu-plugin-ps")