summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-11 00:35:33 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:51:04 +0100
commit177774b39f69f1d315577fd347a5405a30a7d2f3 (patch)
tree77cd1dd9180ca3cecca5f33014c2fe71d8a5807f
parent9179926ffe5002935f2d83a717fb1437245eff5e (diff)
downloadguix-177774b39f69f1d315577fd347a5405a30a7d2f3.tar.gz
gnu: Add rust-nu-plugin-selector-0.26.
* gnu/packages/shells.scm (rust-nu-plugin-selector-0.26): New variable.
-rw-r--r--gnu/packages/shells.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 20b0e42b4d..01560c8ce7 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -1381,6 +1381,32 @@ files and text.")
     (description "Nushell Plugin")
     (license expat)))
 
+(define-public rust-nu-plugin-selector-0.26
+  (package
+    (name "rust-nu-plugin-selector")
+    (version "0.26.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nu_plugin_selector" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0vcwa4g6j8w27g2m4wkk04gja2bw8s9m72v7hbcdmfncgq4cnjrw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-nipper" ,rust-nipper-0.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))))
+    (home-page "https://www.nushell.sh")
+    (synopsis "Web scraping using CSS selector")
+    (description
+     "This package provides web scraping using CSS selector.")
+    (license expat)))
+
 (define-public rust-nu-plugin-start-0.26
   (package
     (name "rust-nu-plugin-start")