From patchwork Tue Mar 19 03:50:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: normally_js X-Patchwork-Id: 61939 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 2080727BBEB; Tue, 19 Mar 2024 03:53:45 +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.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 7E65D27BBE2 for ; Tue, 19 Mar 2024 03:53:44 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmQXZ-000862-S6; Mon, 18 Mar 2024 23:53:29 -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 1rmQXW-00084j-HX for guix-patches@gnu.org; Mon, 18 Mar 2024 23:53:26 -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 1rmQXW-0008Fw-7d for guix-patches@gnu.org; Mon, 18 Mar 2024 23:53:26 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmQY8-0005z7-Kk; Mon, 18 Mar 2024 23:54:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69890] [PATCH 23/43] gnu: Add rust-dockworker-0.5. Resent-From: normalmente Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 19 Mar 2024 03:54:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69890 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69890@debbugs.gnu.org Cc: normalmente , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69890-submit@debbugs.gnu.org id=B69890.171082043822912 (code B ref 69890); Tue, 19 Mar 2024 03:54:04 +0000 Received: (at 69890) by debbugs.gnu.org; 19 Mar 2024 03:53:58 +0000 Received: from localhost ([127.0.0.1]:34982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQY1-0005xK-V9 for submit@debbugs.gnu.org; Mon, 18 Mar 2024 23:53:58 -0400 Received: from mout01.posteo.de ([185.67.36.65]:33615) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQXy-0005w1-96 for 69890@debbugs.gnu.org; Mon, 18 Mar 2024 23:53:54 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 1DC1B240027 for <69890@debbugs.gnu.org>; Tue, 19 Mar 2024 04:53:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710820390; bh=FW2b4FRwUtaPk3RzQQF+7+wGItKdYAGL4mpdtC9Obwc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=T7ICw3KfqjeWS8Czpib/OqT1plN0C1euaQQbUTO4rLGpEwAePI6BJCEEeIdGHe5zd iSCegPRmkejnee//r7PxXJaBqZZCfQ+e148xTrSgQRJH78g1HEGm5W3VcqtYsvwvWK HL/lo/ooOBy2aYg1vrOuRRg2U1VPtjCIsH1xVDz+79IufCIbhOcGzZx1Eyp+WUrnqv il7Gbc+HPo8yvp+2VkpoW2zYDMA0e0/ShptUcVJwxho1GEvOv5eDk8696BVXiGst7B /kC6tMJ8uwxRRU7vROt8hHmBQ89aXaOFQiho96alcpLnfgFDFrInG/5+IC7ik5HK4v pkc7ZpLPzuFuQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TzHr53PFHz6tm4; Tue, 19 Mar 2024 04:53:09 +0100 (CET) From: normalmente Date: Tue, 19 Mar 2024 03:50:54 +0000 Message-ID: <84a2168f0d967ceba1442610c7e5abb120d213e9.1710817681.git.normally_js@posteo.net> 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-dockworker-0.5): New variable. Change-Id: Id4db8d834e45d047b6c136376aa94faa6c40c9a4 --- gnu/packages/crates-io.scm | 62 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4d41e9719e..f7583e09b4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -19776,6 +19776,68 @@ (define-public rust-doc-comment-0.3 from macros.") (license license:expat))) +(define-public rust-dockworker-0.5 + (package + (name "rust-dockworker") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "dockworker" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1gqy78yw5fhzg672idfkdikavhyff73spbpp5nqaax0h4pqzy1mz")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" ; Tests require network access. + "--skip=docker::tests::test_api" + "--skip=docker::tests::test_events" + "--skip=docker::tests::test_networks" + "--skip=docker::tests::test_ping" + "--skip=docker::tests::test_system_info" + "--skip=docker::tests::test_version") + #:cargo-inputs + (("rust-async-stream" ,rust-async-stream-0.3) + ("rust-async-trait" ,rust-async-trait-0.1) + ("rust-base64" ,rust-base64-0.21) + ("rust-byteorder" ,rust-byteorder-1) + ("rust-bytes" ,rust-bytes-1) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-dirs" ,rust-dirs-5) + ("rust-futures" ,rust-futures-0.3) + ("rust-http" ,rust-http-0.2) + ("rust-hyper" ,rust-hyper-0.14) + ("rust-hyper-rustls" ,rust-hyper-rustls-0.24) + ("rust-hyper-tls" ,rust-hyper-tls-0.5) + ("rust-hyperlocal" ,rust-hyperlocal-0.8) + ("rust-log" ,rust-log-0.4) + ("rust-named-pipe" ,rust-named-pipe-0.4) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-nix" ,rust-nix-0.26) + ("rust-openssl" ,rust-openssl-0.10) + ("rust-rustls" ,rust-rustls-0.21) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-tar" ,rust-tar-0.4) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tokio-util" ,rust-tokio-util-0.7) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs + (("rust-rand" ,rust-rand-0.8) + ("rust-reqwest" ,rust-reqwest-0.11)))) + (native-inputs (list pkg-config)) + (inputs (list openssl)) + (home-page "https://github.com/Idein/dockworker") + (synopsis "Docker daemon API client (a fork of Faraday's boondock)") + (description + "This package provides a Rust library for talking to the Docker daemon. +This project is a fork of Faraday's boondock.") + (license license:asl2.0))) + (define-public rust-docmatic-0.1 (package (name "rust-docmatic")