unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Zheng Junjie <873216071@qq.com>
To: 48065@debbugs.gnu.org
Cc: Zheng Junjie <873216071@qq.com>
Subject: [bug#48065] [PATCH 07/14] gnu: Add rust-clap-derive-3.
Date: Wed, 28 Apr 2021 00:12:26 +0800	[thread overview]
Message-ID: <tencent_0E44E52F2560B5DB9B74A95A595E7FFF3A08@qq.com> (raw)
In-Reply-To: <20210427161233.7381-1-873216071@qq.com>

* gnu/packages/crates-io.scm (rust-clap-derive-3): New variable.
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b36f7c81d6..69d22a4a8c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -7067,6 +7067,37 @@ traits.")
         ("rust-libc" ,rust-libc-0.2)
         ("rust-libloading" ,rust-libloading-0.3))))))
 
+(define-public rust-clap-derive-3
+  (package
+    (name "rust-clap-derive")
+    (version "3.0.0-beta.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "clap_derive" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "18cn82jhcha7m0nkpi1a03jx8k7aaq5kxfcxnsqpaa8ih5dp23rp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-heck" ,rust-heck-0.3)
+        ("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://clap.rs/")
+    (synopsis
+     "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.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-clap-2
   (package
     (name "rust-clap")
-- 
2.31.1





  parent reply	other threads:[~2021-04-27 16:14 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210427161233.7381-1-873216071@qq.com>
2021-04-27 16:12 ` [bug#48065] [PATCH 02/14] gnu: Add rust-hyphenation-commons-0.8 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 03/14] gnu: Add rust-hyphenation-0.8 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 04/14] gnu: Add rust-textwrap-0.12 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 05/14] gnu: Add rust-os-str-bytes-2 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 06/14] gnu: Add rust-strsim-0.10 Zheng Junjie
2021-04-27 16:12 ` Zheng Junjie [this message]
2021-04-27 16:12 ` [bug#48065] [PATCH 08/14] gnu: Add rust-clap-3 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 09/14] gnu: Add rust-askama-escape-0.10 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 10/14] gnu: Add rust-askama-shared-0.11 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 11/14] gnu: Add rust-askama-derive-0.10 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 12/14] gnu: Add rust-askama-0.10 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 13/14] gnu: Add rust-seq-macro-0.2 Zheng Junjie
2021-04-27 16:12 ` [bug#48065] [PATCH 14/14] gnu: Add zoxide Zheng Junjie
2021-05-26 13:24   ` bug#48065: " Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_0E44E52F2560B5DB9B74A95A595E7FFF3A08@qq.com \
    --to=873216071@qq.com \
    --cc=48065@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).