guix-commits
[Top][All Lists]
Advanced

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

46/62: gnu: Add rust-parse-display-derive-0.8.


From: guix-commits
Subject: 46/62: gnu: Add rust-parse-display-derive-0.8.
Date: Wed, 13 Mar 2024 16:22:25 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit c7d290010983fb2ea9d3d976147a47d83fb30c1b
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:02:36 2024 +0100

    gnu: Add rust-parse-display-derive-0.8.
    
    * gnu/packages/crates-io.scm (rust-parse-display-derive-0.8): Add
    variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
    Change-Id: I386da87ecf33e52bcd30a9a0c53a1eedd0811f1e
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ead1810a59..60a10c4eb9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -45645,6 +45645,34 @@ definitions compiled to support read+write async.")
 parallelism and safety in mind.")
     (license license:asl2.0)))
 
+(define-public rust-parse-display-derive-0.8
+  (package
+    (name "rust-parse-display-derive")
+    (version "0.8.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "parse-display-derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0hgkhjnk0xlaixql207p7vvg41vyq7y7gdqdijh8vxysr297hlb8"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-regex-syntax" ,rust-regex-syntax-0.7)
+                       ("rust-structmeta" ,rust-structmeta-0.2)
+                       ("rust-syn" ,rust-syn-2))))
+    (home-page "https://github.com/frozenlib/parse-display";)
+    (synopsis
+     "Procedural macro to implement Display and FromStr using common settings")
+    (description
+     "This package provides a procedural macro to implement @code{Display} and
+@code{FromStr} using common settings.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-parse-zoneinfo-0.3
   (package
     (name "rust-parse-zoneinfo")



reply via email to

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