guix-patches
[Top][All Lists]
Advanced

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

[bug#56057] [gnu: Add dua-cli. 23/27] gnu: Add rust-clap-derive-3.


From: antlers
Subject: [bug#56057] [gnu: Add dua-cli. 23/27] gnu: Add rust-clap-derive-3.
Date: Sat, 18 Jun 2022 12:56:52 -0700

* gnu/packages/crates-io.scm (rust-clap-derive-3): New variable.
---
:100644 100644 13501003d8 bf4145a3c8 M  gnu/packages/crates-io.scm
 gnu/packages/crates-io.scm | 33 ++++++++++++++++++++++++++++++---
 1 file changed, 30 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 13501003d8..bf4145a3c8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11265,7 +11265,7 @@ (define-public rust-clap-derive-3
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "18cn82jhcha7m0nkpi1a03jx8k7aaq5kxfcxnsqpaa8ih5dp23rp"))))
+         "1fczfj2kzd9iwxs573k0b2bn697znklgvrf8ii8fibhnglhl07f1"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
@@ -11281,13 +11281,13 @@ (define-public rust-clap-derive-3
      "Parse command line argument by defining a struct, derive crate")
     (description
      "This package provides a parse command line argument by defining a struct,
-derive crate.")
+derive crate")
     (license (list license:expat license:asl2.0))))
 
 (define-public rust-clap-3
   (package
     (name "rust-clap")
-    (version "3.2.4")
+    (version "3.2.5")
     (source
      (origin
        (method url-fetch)
@@ -73358,6 +73358,33 @@ (define-public rust-clap-conf-0.1
       "This package provides a library to unify commandline arguments with 
config files and environment variables.  And make it easier for users to tell 
your program how to behave across the three main input sources")
     (license license:expat)))
 
+(define-public rust-clap-derive-3
+  (package
+    (name "rust-clap-derive")
+    (version "3.2.5")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "clap_derive" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1fczfj2kzd9iwxs573k0b2bn697znklgvrf8ii8fibhnglhl07f1"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-heck" ,rust-heck-0.4)
+        ("rust-proc-macro-error" ,rust-proc-macro-error-1)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/clap-rs/clap/tree/master/clap_derive";)
+    (synopsis
+     "Macro implementation for clap's derives")
+    (description
+     "Parse command line argument by defining a struct, derive crate.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-cvss-1
   (package
     (name "rust-cvss")
-- 
2.36.0






reply via email to

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