From patchwork Mon Oct 30 21:06:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 55674 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 69E6927BBE9; Mon, 30 Oct 2023 21:10:30 +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, SPF_HELO_PASS 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 1BE4327BBE2 for ; Mon, 30 Oct 2023 21:10:28 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxZUv-00065n-TH; Mon, 30 Oct 2023 17:08:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qxZUu-000650-6F for guix-patches@gnu.org; Mon, 30 Oct 2023 17:08:32 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qxZUt-0004gc-Tu for guix-patches@gnu.org; Mon, 30 Oct 2023 17:08:31 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qxZVR-0000li-65; Mon, 30 Oct 2023 17:09:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66839] [PATCH 13/19] gnu: Add rust-syslog-6. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 30 Oct 2023 21:09:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66839 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66839@debbugs.gnu.org Cc: Steve George , efraim@flashner.co.il X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by 66839-submit@debbugs.gnu.org id=B66839.16987001182793 (code B ref 66839); Mon, 30 Oct 2023 21:09:05 +0000 Received: (at 66839) by debbugs.gnu.org; 30 Oct 2023 21:08:38 +0000 Received: from localhost ([127.0.0.1]:46815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxZUz-0000is-KZ for submit@debbugs.gnu.org; Mon, 30 Oct 2023 17:08:37 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:39154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qxZUw-0000i3-8j for 66839@debbugs.gnu.org; Mon, 30 Oct 2023 17:08:34 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qxZUJ-00FbMf-7i for 66839@debbugs.gnu.org; Mon, 30 Oct 2023 22:07:55 +0100 Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qxZUI-0001uA-Oe for 66839@debbugs.gnu.org; Mon, 30 Oct 2023 22:07:54 +0100 Received: by submission01.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qxZUF-006vNs-0A; Mon, 30 Oct 2023 22:07:51 +0100 From: Steve George Date: Mon, 30 Oct 2023 21:06:19 +0000 Message-ID: <5f8212348a9c43f7d07742cf4ba84423c1cd7944.1698699809.git.steve@futurile.net> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-syslog-6): New variable. --- gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9e95e8b485..46ae2e0f30 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -71566,8 +71566,32 @@ (define-public rust-sysinfo-0.23 processors, disks, components and networks.") (license license:expat))) +(define-public rust-syslog-6 + (package + (name "rust-syslog") + (version "6.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "syslog" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0vzrwwv3v9bwfinp7yz4kcdxxs00ikz89gzl61fj3qfcridyjd3l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-error-chain" ,rust-error-chain-0.12) + ("rust-hostname" ,rust-hostname-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-time" ,rust-time-0.3)))) + (home-page "https://github.com/Geal/rust-syslog") + (synopsis "Send log messages to syslog") + (description "Rust crate to send messages to Syslog.") + (license license:expat))) + (define-public rust-syslog-4 (package + (inherit rust-syslog-6) (name "rust-syslog") (version "4.0.1") (source @@ -71579,21 +71603,17 @@ (define-public rust-syslog-4 (sha256 (base32 "09ykcbvwx8icvf303mqyz76ji8j6fgyyx97zpr23s788ni112r50")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-time" ,rust-time-0.1) ("rust-error-chain" ,rust-error-chain-0.11) ("rust-libc" ,rust-libc-0.2) - ("rust-log" ,rust-log-0.4)))) - (home-page "https://github.com/Geal/rust-syslog") - (synopsis "Send log messages to syslog") - (description "Send log messages to syslog.") - (license license:expat))) + ("rust-log" ,rust-log-0.4)))))) (define-public rust-syslog-3 (package + (inherit rust-syslog-6) (name "rust-syslog") (version "3.3.0") (source @@ -71605,18 +71625,13 @@ (define-public rust-syslog-3 (sha256 (base32 "0hpdnk2zm6xawpz6fv6qbn0ncfm5p0wm5c6gq7yhaz2gvsnb1jdv")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-time" ,rust-time-0.1) ("rust-libc" ,rust-libc-0.2) ("rust-log" ,rust-log-0.3) - ("rust-unix-socket" ,rust-unix-socket-0.5)))) - (home-page "https://github.com/Geal/rust-syslog") - (synopsis "Send log messages to syslog") - (description "Send log messages to syslog.") - (license license:expat))) + ("rust-unix-socket" ,rust-unix-socket-0.5)))))) (define-public rust-system-deps-6 (package