unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Zheng Junjie <873216071@qq.com>
To: 48956@debbugs.gnu.org
Cc: Zheng junjie <873216071@qq.com>
Subject: [bug#48956] [PATCH 25/58] gnu: Add rust-cargo-metadata-0.13.
Date: Fri, 11 Jun 2021 20:53:04 +0800	[thread overview]
Message-ID: <tencent_4125FBB55C9B64A95659B77F7A3A31E59708@qq.com> (raw)
In-Reply-To: <20210611125337.10255-1-873216071@qq.com>

From: Zheng junjie <873216071@qq.com>

* gnu/packages/crates-io.scm (rust-cargo-metadata-0.13): New variable.
(rust-cargo-metadata-0.9): inherit from above.
---
 gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++--------
 1 file changed, 33 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aa8876d61c..239c77a83a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6951,8 +6951,40 @@ capabilities")
 the library crate of Cargo.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-cargo-metadata-0.13
+  (package
+    (name "rust-cargo-metadata")
+    (version "0.13.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cargo-metadata" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "11cnz97byqswmhpbbig9hss5kf8bmxq9nd5xjg3l2rsnnv040i32"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-camino" ,rust-camino-1)
+        ("rust-cargo-platform" ,rust-cargo-platform-0.1)
+        ("rust-derive-builder" ,rust-derive-builder-0.9)
+        ("rust-semver" ,rust-semver-0.11)
+        ("rust-semver-parser" ,rust-semver-parser-0.10)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/oli-obk/cargo_metadata")
+    (synopsis "Structured access to the output of `cargo metadata`")
+    (description
+     "This package provides structured access to the output of @code{cargo
+metadata}.")
+    (license license:expat)))
+
 (define-public rust-cargo-metadata-0.9
   (package
+    (inherit rust-cargo-metadata-0.13)
     (name "rust-cargo-metadata")
     (version "0.9.1")
     (source
@@ -6964,7 +6996,6 @@ the library crate of Cargo.")
         (sha256
          (base32
           "00pjms89lghvizh4d55lz80hvrih9r55xv9m5wd9vcsgc163gqs6"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:tests? #f
        #:cargo-inputs
@@ -6975,13 +7006,7 @@ the library crate of Cargo.")
        #:cargo-development-inputs
        (("rust-clap" ,rust-clap-2)
         ("rust-docopt" ,rust-docopt-1)
-        ("rust-structopt" ,rust-structopt-0.2))))
-    (home-page "https://github.com/oli-obk/cargo_metadata")
-    (synopsis "Structured access to the output of `cargo metadata`")
-    (description
-     "This package provides structured access to the output of @code{cargo
-metadata}.")
-    (license license:expat)))
+        ("rust-structopt" ,rust-structopt-0.2))))))
 
 (define-public rust-cargo-metadata-0.6
   (package
-- 
2.32.0





  parent reply	other threads:[~2021-06-11 12:56 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210611125337.10255-1-873216071@qq.com>
2021-06-11 12:52 ` [bug#48956] [PATCH 17/58] gnu: Add rust-snap-1 Zheng Junjie
2021-06-11 12:52 ` [bug#48956] [PATCH 18/58] gnu: Add rust-object-0.24 Zheng Junjie
2021-06-11 12:52 ` [bug#48956] [PATCH 19/58] gnu: Add rust-anymap-0.12 Zheng Junjie
2021-06-11 12:52 ` [bug#48956] [PATCH 20/58] gnu: Add rust-xshell-macros-0.1 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 21/58] gnu: Add rust-xshell-0.1 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 22/58] gnu: Add rust-arrayvec-0.7 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 23/58] gnu: Add rust-camino-1 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 24/58] gnu: Add rust-countme-2 Zheng Junjie
2021-06-11 12:53 ` Zheng Junjie [this message]
2021-06-11 12:53 ` [bug#48956] [PATCH 26/58] gnu: Add rust-cov-mark-1 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 27/58] gnu: Add rust-drop-bomb-0.1 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 28/58] gnu: Add rust-jod-thread-0.1 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 29/58] gnu: Add rust-lsp-types-0.83 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 30/58] gnu: Add rust-lsp-server-0.5 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 31/58] gnu: Add rust-inotify-0.9 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 32/58] gnu: Add rust-fsevent-sys-3 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 33/58] gnu: rust-time-0.2: fix inputs Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 34/58] gnu: Add rust-fsevent-2 Zheng Junjie
2021-06-11 12:53 ` [bug#48956] [PATCH 35/58] gnu: Add rust-notify-5 Zheng Junjie

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_4125FBB55C9B64A95659B77F7A3A31E59708@qq.com \
    --to=873216071@qq.com \
    --cc=48956@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).