summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-11 00:31:03 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:51:01 +0100
commitc868e878bb67d5687700ccc3fac22f3eb5a5deb9 (patch)
tree07d9b68383a057600b596a3e3e664d8f0e7b1d8e
parenteab45f7cfcff6be5906a3c78bdb56cbda7dc480f (diff)
downloadguix-c868e878bb67d5687700ccc3fac22f3eb5a5deb9.tar.gz
gnu: Add rust-nu-plugin-xpath-0.26.
* gnu/packages/shells.scm (rust-nu-plugin-xpath-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 bb68c4594b..162d9cc6c4 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -1380,6 +1380,34 @@ files and text.")
     (description "Nushell Plugin")
     (license expat)))
 
+(define-public rust-nu-plugin-xpath-0.26
+  (package
+    (name "rust-nu-plugin-xpath")
+    (version "0.26.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nu_plugin_xpath" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0sp3q5wlmwpzsx9751wqis2xxshck0fl6gpl1jckwivg8s9glbbg"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-bigdecimal" ,rust-bigdecimal-0.2)
+        ("rust-indexmap" ,rust-indexmap-1)
+        ("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-sxd-document" ,rust-sxd-document-0.3)
+        ("rust-sxd-xpath" ,rust-sxd-xpath-0.4))))
+    (home-page "https://www.nushell.sh")
+    (synopsis "Traverses XML")
+    (description "Traverses XML")
+    (license expat)))
+
 (define-public rust-nu-protocol-0.26
   (package
     (name "rust-nu-protocol")