summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-09 23:26:57 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:49:56 +0100
commit8a46bf9aeb9c936ab8cdb1ecf52dae42dc005b2d (patch)
tree7b40ee3279e18d3dfc485a41f8de45c43c2aeca0 /gnu
parent2d6fb11d9add46ff5fe35e459db2a9cd90e9d446 (diff)
downloadguix-8a46bf9aeb9c936ab8cdb1ecf52dae42dc005b2d.tar.gz
gnu: Add rust-sxd-xpath-0.4.
* gnu/packages/crates-io.scm (rust-sxd-xpath-0.4): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d9d5523512..5d9feac839 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44741,6 +44741,29 @@ formatters with per-field documentation generated for each structure.
     (description "This package provides a Rust XML DOM library.")
     (license license:expat)))
 
+(define-public rust-sxd-xpath-0.4
+  (package
+    (name "rust-sxd-xpath")
+    (version "0.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "sxd-xpath" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1sin3g8lzans065gjcwrpm7gdpwdpdg4rpi91rlvb1q8sfjrvqrn"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-peresil" ,rust-peresil-0.3)
+        ("rust-quick-error" ,rust-quick-error-1)
+        ("rust-sxd-document" ,rust-sxd-document-0.3))))
+    (home-page "https://github.com/shepmaster/sxd-xpath")
+    (synopsis "Rust XML XPath library")
+    (description "This package provides a Rust XML XPath library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-inflections-1
   (package
     (name "rust-inflections")