From patchwork Fri Jun 11 12:53:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Z572 <873216071@qq.com> X-Patchwork-Id: 30140 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D3EA827BC81; Fri, 11 Jun 2021 13:56:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8B67727BC78 for ; Fri, 11 Jun 2021 13:56:11 +0100 (BST) Received: from localhost ([::1]:55096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrghm-00015Q-It for patchwork@mira.cbaines.net; Fri, 11 Jun 2021 08:56:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrghe-00014X-D2 for guix-patches@gnu.org; Fri, 11 Jun 2021 08:56:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55099) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lrghe-0005uu-5Q for guix-patches@gnu.org; Fri, 11 Jun 2021 08:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lrghe-0003Fj-5C for guix-patches@gnu.org; Fri, 11 Jun 2021 08:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48956] [PATCH 25/58] gnu: Add rust-cargo-metadata-0.13. Resent-From: Zheng Junjie <873216071@qq.com> Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 11 Jun 2021 12:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48956 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48956@debbugs.gnu.org Cc: Zheng junjie <873216071@qq.com> Received: via spool by 48956-submit@debbugs.gnu.org id=B48956.162341610712320 (code B ref 48956); Fri, 11 Jun 2021 12:56:02 +0000 Received: (at 48956) by debbugs.gnu.org; 11 Jun 2021 12:55:07 +0000 Received: from localhost ([127.0.0.1]:38385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrggl-0003Cd-2a for submit@debbugs.gnu.org; Fri, 11 Jun 2021 08:55:07 -0400 Received: from out203-205-221-164.mail.qq.com ([203.205.221.164]:39242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <873216071@qq.com>) id 1lrggh-0003BC-Ub for 48956@debbugs.gnu.org; Fri, 11 Jun 2021 08:55:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1623416096; bh=MBdUOfPrumn/BvpqEQbh03yiVasJn5nbGNWu4mtRBWg=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=UB7uiFboAB8rN/n6Yclt7sVWttmYXQ1R3hZOsFqllYEyRwLfVCBCnDCYnoi+FH3Vx RpKsQHMZMOGkx3dPRDzTwmwPlK6GqkUIfRIwBvov+boLb6LwaWQ0REjy9T/GIBHdio CyLbgH+VVpgYZmT2DujHXpZh85c+OB1R9OPnPEeY= Received: from localhost.localdomain ([2409:8928:1204:1e6e:6319:fd60:2291:6721]) by newxmesmtplogicsvrszc6.qq.com (NewEsmtp) with SMTP id DB6840E4; Fri, 11 Jun 2021 20:54:54 +0800 X-QQ-mid: xmsmtpt1623416094t7x84vqqa Message-ID: X-QQ-XMAILINFO: Mt/tJuvlz7N+7ESOuuTVdCfIwEb+Lfl2dV2QtZYrJGd68/+zlhQHYU7eZVwg8n rhTk3mu3JPMYyaZ5TcFwX8oQiZTWjZ5ZX0IzqNqLghrer/uFamM485r4HdqPiURe0VT88MvRQVYG C6avUNfukdPQhYMCBQmii80Tk7Tf61KzjSCxmwak2Go5wMYJOEY46c+df7EawhNO9tmCKTeV05hj B9LBGVSv98jXS/agocG+ZP9rVLKuA/cD+RSv8HPzuYCY10y+DrL9lKykPtcDPI0/sXQte0lz6q9b ArimF+s1DyzRQ5+Eb8r9XsPy/efGVSuwWrFrFKskaupD686CocnZYzrJPV2gaeFpxIfmYyKW2JqY kvONhRI4gqA++VN9a/Bh3eeTcdE/lMOB1JldlTcG0AaTvV1XSvssvu17yu9a792EfGk9Uy9pWAUF QX5EncBVLgsXCfgNAvh4nXI0OCKukcaqX8V8Yt5qT44bcokjYqLTPIagCs6j16AiMfSSCBQDSINv kd++uVHlOkQ7qFHpV8YyC42zQqa1R6xNMG+jWs4ZgUAxEvv9+GZV+zTDLV6W1if+zGkJlJt3inhf vM6WLqWMF+dTp3JhsuxaYP5I96I2uxXel5Mb98HyXqJwo0/ROtSMgMUymmt7kYVnov8x8heAjzaj H6Nv7UIAMZK4MJKP4tXa3jVwp+pxgeck6ytZli5vnwnZ7JK1iYM/HUrKbY6I2xrFrEMMS8UEVxc3 14+p30srMLZkH8rGO0lxsciN2WEEKM9idyitYrSnnO4rrtZqu4R00KnUTLQiaJFGt+J7gWB69ADg Mo/GP2RVIUEvK8BUhYFOTJkD4zXoFkQ1Oh8yMc0DnNk6GKJUTb3i8jWT/AMuF9cE2y9i877g2jvM CCaeZwYSoV From: Zheng Junjie <873216071@qq.com> Date: Fri, 11 Jun 2021 20:53:04 +0800 X-OQ-MSGID: <20210611125337.10255-10-873216071@qq.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210611125337.10255-1-873216071@qq.com> References: <20210611125337.10255-1-873216071@qq.com> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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