From patchwork Tue Mar 19 03:50:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: normally_js X-Patchwork-Id: 61972 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 26F0127BBEA; Tue, 19 Mar 2024 04:09:35 +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=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 2225627BBE2 for ; Tue, 19 Mar 2024 04:09:34 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmQn2-0004S7-Tj; Tue, 19 Mar 2024 00:09:28 -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 1rmQn0-0004Rm-Kv for guix-patches@gnu.org; Tue, 19 Mar 2024 00:09: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 1rmQmy-0004Du-JI for guix-patches@gnu.org; Tue, 19 Mar 2024 00:09:26 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmQna-00075I-Hc; Tue, 19 Mar 2024 00:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69890] [PATCH 13/43] gnu: Add rust-procfs-0.16. Resent-From: normalmente Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 19 Mar 2024 04:10:02 +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.171082136227111 (code B ref 69890); Tue, 19 Mar 2024 04:10:02 +0000 Received: (at 69890) by debbugs.gnu.org; 19 Mar 2024 04:09:22 +0000 Received: from localhost ([127.0.0.1]:36270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQmv-00073D-GO for submit@debbugs.gnu.org; Tue, 19 Mar 2024 00:09:21 -0400 Received: from mout02.posteo.de ([185.67.36.66]:41003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQmt-00072n-2t for 69890@debbugs.gnu.org; Tue, 19 Mar 2024 00:09:19 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 76190240101 for <69890@debbugs.gnu.org>; Tue, 19 Mar 2024 04:53:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710820380; bh=zW5cg52pXGnB+a2osHvavB3TOWTTuvcCppR7J1TLVZA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=PdXfDFms3TNduAdx7B4Dw2ItyfrB66kFSK8wYlxaTF6WarC5HMmmj0n0sd1hmyl+P 2cx9/361x0CaNGsxehTFPbi1ApK8hdY1Lb0CL2mQjFviVBQiaPIXSxma1GEsbVOG3x ZTohG0//DyzKY5t7avqzzCYMkphabu+X/ISqENMM1ap1aOMicxI5QhPA/kFqLtRnx9 d9ERsMPla62uvAK3Hm5BKc8RagxpxRPIIVWIcnb46e2lXRcBu33eVsX5bk3HGheZYR L5BQH503XMLFN0mAXPlC73pCHG4oIUV5Qxfxt0Y+zn+lLMIuOcoXYbo3hkMk24iWR9 PsAe74FLtW51A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TzHqv5r2Hz6tm4; Tue, 19 Mar 2024 04:52:59 +0100 (CET) From: normalmente Date: Tue, 19 Mar 2024 03:50:44 +0000 Message-ID: <82fdf583e9253ea0bd85ab660fd38292e114136c.1710817680.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-procfs-0.16): New variable. Change-Id: Idf3a09292180d7945bd18123dd10f962fa926a47 --- gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b045efccc5..51efb522b8 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -49616,6 +49616,48 @@ (define-public rust-priority-queue-1 priority of an object.") (license license:expat))) +(define-public rust-procfs-0.16 + (package + (name "rust-procfs") + (version "0.16.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "procfs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1d4k8ai16b5cv05dpz7b87qn5dap3jdyfnrvycb5zhmhas9hs7kk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--skip=net::tests::test_snmp" + "--skip=process::task::tests::test_task_runsinglethread" + "--skip=process::tests::test_proc_status_for_kthreadd" + "--skip=tests::test_meminfo" + "--skip=process::tests::test_proc_fd_count_runsinglethread") + #:cargo-inputs + (("rust-backtrace" ,rust-backtrace-0.3) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-flate2" ,rust-flate2-1) + ("rust-hex" ,rust-hex-0.4) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-procfs-core" ,rust-procfs-core-0.16) + ("rust-rustix" ,rust-rustix-0.38) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.5) + ("rust-failure" ,rust-failure-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-procinfo" ,rust-procinfo-0.4)))) + (home-page "https://github.com/eminence/procfs") + (synopsis "Interface to the linux procfs pseudo-filesystem") + (description + "This package provides an interface to the linux procfs +pseudo-filesystem.") + (license (list license:expat license:asl2.0)))) + (define-public rust-procfs-core-0.16 (package (name "rust-procfs-core")