guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

14/20: gnu: Add rust-jsonpath-lib-0.3.


From: guix-commits
Subject: 14/20: gnu: Add rust-jsonpath-lib-0.3.
Date: Thu, 26 Aug 2021 08:26:41 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit eb9ae642d4315d756955e2b9301e6edddfac121b
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Thu Aug 26 10:59:35 2021 +0200

    gnu: Add rust-jsonpath-lib-0.3.
    
    * gnu/packages/crates-io.scm (rust-jsonpath-lib-0.3): New variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 734899b..32b897f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23254,6 +23254,31 @@ the jni-bindgen code generator for binding to JVM APIs 
from Rust.")
 @code{std::thread}, which makes sure that by default all threads are joined.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-jsonpath-lib-0.3
+  (package
+    (name "rust-jsonpath-lib")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "jsonpath_lib" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0kvp4fargixqlwjvpb3w6f1lvmiysnmj7an5h75wqc42ss8k39pa"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-log" ,rust-log-0.4)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/freestrings/jsonpath";)
+    (synopsis "JsonPath engine written in Rust")
+    (description
+     "It is JsonPath engine written in Rust.  It provides a similar API
+interface in Webassembly and Javascript too.")
+    (license license:expat)))
+
 (define-public rust-jsonrpc-core-14
   (package
     (name "rust-jsonrpc-core")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]