From eb9ae642d4315d756955e2b9301e6edddfac121b Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 26 Aug 2021 10:59:35 +0200 Subject: [PATCH] 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 734899b62a..32b897f779 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")