From patchwork Sat Dec 18 20:49:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 35431 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 6120127BBEA; Sat, 18 Dec 2021 20:53:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DD88327BBE9 for ; Sat, 18 Dec 2021 20:53:13 +0000 (GMT) Received: from localhost ([::1]:53562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myghd-0008Jr-0l for patchwork@mira.cbaines.net; Sat, 18 Dec 2021 15:53:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mygfn-0005Iz-Bp for guix-patches@gnu.org; Sat, 18 Dec 2021 15:51:19 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60885) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mygfm-0003au-Tr for guix-patches@gnu.org; Sat, 18 Dec 2021 15:51:19 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mygfm-0004oe-SQ for guix-patches@gnu.org; Sat, 18 Dec 2021 15:51:18 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52631] [PATCH 22/42] gnu: Add rust-system-deps-3. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Dec 2021 20:51:18 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52631 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52631@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163986066118065 (code B ref -1); Sat, 18 Dec 2021 20:51:18 +0000 Received: (at submit) by debbugs.gnu.org; 18 Dec 2021 20:51:01 +0000 Received: from localhost ([127.0.0.1]:44128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mygfU-0004hG-JO for submit@debbugs.gnu.org; Sat, 18 Dec 2021 15:51:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:50716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mygfJ-0004g4-R1 for submit@debbugs.gnu.org; Sat, 18 Dec 2021 15:50:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49074) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mygfJ-0004zR-KI for guix-patches@gnu.org; Sat, 18 Dec 2021 15:50:49 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:56311) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mygfH-0003Qh-UN for guix-patches@gnu.org; Sat, 18 Dec 2021 15:50:49 -0500 Received: from hermia.goebel-consult.de ([46.87.136.58]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1McY0L-1mMb1f2SXl-00cvV9 for ; Sat, 18 Dec 2021 21:50:46 +0100 Received: from thisbe.fritz.box (thisbe.fritz.box [192.168.110.24]) by hermia.goebel-consult.de (Postfix) with ESMTP id A4095660EE; Sat, 18 Dec 2021 21:50:09 +0100 (CET) From: Hartmut Goebel Date: Sat, 18 Dec 2021 21:49:33 +0100 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V03:K1:xFdwwUN0S2ztK7QWsFxAHupQioSR3q1enkUrEZqPr4viOeqU6RX UWxJyCeWa7Wa2qAC9hnomoPu8tbL5lMjDurFiE3GEeVoIz5sZNf2etixILNQOlosT7rQnWv Q9LS66Z/XfPeJSY6+S2qckwR+idRnh5jW8UoQd4ltYjWD4gez/cR6LdrYfS40JRNxGZbsgP BGaS5KQoq+0PepTwGQkew== X-UI-Out-Filterresults: notjunk:1;V03:K0:wlc3fTQ6zO4=:dWNNv2FbTFsJ7bE362gWyv 2EwteP83ze/BCZcUGPWtx07h8al6ZKsInvP2wsCZ9fB5Eu5rRgtC2+YZ0Y+ylfLBLYYACk+gs TI1tAPtk/ZPsglItEA84yrvoLTc6Ztj+WwcExJqZLvUeBv+go38HA34VUblIhUFzJ3MLAWHC0 FkokE/4BZiKOacmDcn6rXEBDtJ6VSojoHIlpdyyPczqx60/2gN6xq09gZ0jvZ0SOsU+zNk0xg IH6gHWoGnveDOA19eC1T+40JTPb6pvOFVtAhVKxmAHRs2ckA3nrdN5cLVEfY3N7trbselLqUP OQXeSrja8nesoIuCiHH5KoXSd2ulTPJZJHmBa2cILJRVk7V/ovyukflvatlH/+jeoJPyZn2wH bsvMGtLTNT3HuNyeeKr9fxdBpF99b0WaIx/9DmeMN1431W2g6jRqCWiDTCDudbdZSdJZPYGMW 6Dl6XHDHiA7NHhlaRMQkbgl1bXLmdmpN4V0fbJGFOZL07UnydrvztOHuI40ITlAg7iysOd4hS ttWEaW96A1RqIeegGcOP4alq7dbrVnBD76XJEQmeTXKXMKlNVqy3JURhyGNc6Nu0/dg/l8Fho /nnb1WPp/YVS0lRe3ZfwlVWnTAsydvcpdgoVe+Rh747p2qif9cFtUkJ1+ZNxHgvkwdQ91xqSf fv6kz5NajdEe3dcvxkixUF1VjnAW52pWOPMxJDsVn5949zK6fZIWA8COnMxeQj1XW/LqVwkCI E/lRUxs/korQyYMi Received-SPF: none client-ip=212.227.126.134; envelope-from=h.goebel@crazy-compilers.com; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 * gnu/packages/crates-io.scm (rust-system-deps-3): New variable. (rust-system-deps-1): Inherit form rust-system-deps-3. --- gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++-------- 1 file changed, 35 insertions(+), 9 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f5f17c6743..eb6d2319ec 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -52796,8 +52796,42 @@ processors, disks, components and networks.") (description "Send log messages to syslog.") (license license:expat))) +(define-public rust-system-deps-3 + (package + (name "rust-system-deps") + (version "3.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "system-deps" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0w7avfcqdp6wkix8yhfk4wpbr9z9x7507l54crqc06mwsxx10j62")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-anyhow" ,rust-anyhow-1) + ("rust-cfg-expr" ,rust-cfg-expr-0.7) + ("rust-heck" ,rust-heck-0.3) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-pkg-config" ,rust-pkg-config-0.3) + ("rust-strum" ,rust-strum-0.20) + ("rust-strum-macros" ,rust-strum-macros-0.20) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-toml" ,rust-toml-0.5) + ("rust-version-compare" ,rust-version-compare-0.0.11)))) + (home-page "https://github.com/gdesmott/system-deps") + (synopsis "Define system dependencies in @file{Cargo.toml}") + (description + "This crate lets you write system dependencies in @file{Cargo.toml} +metadata, rather than programmatically in @file{build.rs}. This makes those +dependencies declarative, so other tools can read them as well.") + (license (list license:expat license:asl2.0)))) + (define-public rust-system-deps-1 (package + (inherit rust-system-deps-3) (name "rust-system-deps") (version "1.3.2") (source @@ -52812,7 +52846,6 @@ processors, disks, components and networks.") '(begin (substitute* "Cargo.toml" (("0.0.10") "0.0.11")) #t)))) - (build-system cargo-build-system) (arguments `(#:tests? #f ;source is missing some test files #:cargo-inputs @@ -52824,14 +52857,7 @@ processors, disks, components and networks.") ("rust-toml" ,rust-toml-0.5) ("rust-version-compare" ,rust-version-compare-0.0.11)) #:cargo-development-inputs - (("rust-itertools" ,rust-itertools-0.9)))) - (home-page "https://github.com/gdesmott/system-deps") - (synopsis "Define system dependencies in @file{Cargo.toml}") - (description - "This crate lets you write system dependencies in @file{Cargo.toml} -metadata, rather than programmatically in @file{build.rs}. This makes those -dependencies declarative, so other tools can read them as well.") - (license (list license:expat license:asl2.0)))) + (("rust-itertools" ,rust-itertools-0.9)))))) (define-public rust-tabwriter-1 (package