guix-commits
[Top][All Lists]
Advanced

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

45/58: gnu: Add rust-serde-path-to-error-0.1.


From: guix-commits
Subject: 45/58: gnu: Add rust-serde-path-to-error-0.1.
Date: Sun, 13 Jun 2021 13:15:46 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 34c474ecf44434a3f2857f4646d995b4f7f9014a
Author: Zheng junjie <873216071@qq.com>
AuthorDate: Fri Jun 11 21:11:54 2021 +0800

    gnu: Add rust-serde-path-to-error-0.1.
    
    * gnu/packages/crates-io.scm (rust-serde-path-to-error-0.1): New variable.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7aed89f..ee3c578 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39813,6 +39813,35 @@ data.  This crate provides a wrapper that works with 
any existing Serde
      "Macros to auto-generate implementations for the serde framework.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-serde-path-to-error-0.1
+  (package
+    (name "rust-serde-path-to-error")
+    (version "0.1.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "serde-path-to-error" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "0n5ilbsxvi174m2fd506ivd43kws0yh523li1xz0zqh60ngi1xj2"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:skip-build? #t
+        #:cargo-inputs
+        (("rust-serde" ,rust-serde-1))
+        #:cargo-development-inputs
+        (("rust-serde-derive" ,rust-serde-derive-1)
+         ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page
+      "https://github.com/dtolnay/path-to-error";)
+    (synopsis
+      "Path to the element that failed to deserialize")
+    (description
+      "This package provides a path to the element that failed to 
deserialize.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-serde-qs-0.7
   (package
     (name "rust-serde-qs")



reply via email to

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