From patchwork Tue Mar 19 03:50:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: normally_js X-Patchwork-Id: 61966 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 9677F27BBEB; Tue, 19 Mar 2024 03:55:56 +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 1C38627BBE2 for ; Tue, 19 Mar 2024 03:55:56 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmQZV-0000xi-Fs; Mon, 18 Mar 2024 23:55: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 1rmQZT-0000uE-3m for guix-patches@gnu.org; Mon, 18 Mar 2024 23:55:27 -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 1rmQZS-0000I0-QF for guix-patches@gnu.org; Mon, 18 Mar 2024 23:55:26 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmQa5-0006E3-81; Mon, 18 Mar 2024 23:56:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69890] [PATCH 11/43] gnu: Add rust-procinfo-0.4. Resent-From: normalmente Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 19 Mar 2024 03:56:05 +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.171082052123683 (code B ref 69890); Tue, 19 Mar 2024 03:56:05 +0000 Received: (at 69890) by debbugs.gnu.org; 19 Mar 2024 03:55:21 +0000 Received: from localhost ([127.0.0.1]:35173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQZN-00069n-Cu for submit@debbugs.gnu.org; Mon, 18 Mar 2024 23:55:21 -0400 Received: from mout02.posteo.de ([185.67.36.66]:36421) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQXm-0005uf-H3 for 69890@debbugs.gnu.org; Mon, 18 Mar 2024 23:53:43 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 69619240101 for <69890@debbugs.gnu.org>; Tue, 19 Mar 2024 04:52:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710820378; bh=O0mRzaPO2gC1NUgsg9LQ4w1EDrJDozJinrAxJRjLHO4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=gdYXJBrTX4gT71SYj29DfM7krkJ0xbHRvlHfClNxWs0WpBBq8sjRACqeftAxL+zKG dR37QqKr98dVxcCqk1irBqVW5yY8Hc2ntV8Hux7Yw6XtZ7kVi4cMLhQXlxwNk5aZo0 6uiVjQFNQb5T7sIp1vtinMEZpKbjDXXa0bPOg8qvCOSyrgaMgA4pnnohsCJTNrBgAf /R97Ph2LMIIfaupGSXa42T4h0xbFGv2Vb0rtskXpbb/Y8cJmIi3Htmcz2IK3PIU1oK esnE8GeCBoFp/qsr5gOmUufRqfscOtA46Uc5IkC0LHve7kGIfUNYXEZr7WdL4es3Wn uX+zbqcMbsAZA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TzHqs5d35z6tm4; Tue, 19 Mar 2024 04:52:57 +0100 (CET) From: normalmente Date: Tue, 19 Mar 2024 03:50:42 +0000 Message-ID: <759c40da760e3ceb45c1e4e957974a5af70ec03f.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-procinfo-0.4): New variable. Change-Id: Ie70a5f2db8defc0d642a69c200e4f3d3596d1f7e --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b9e65eafef..ab644aaf4c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -49616,6 +49616,34 @@ (define-public rust-priority-queue-1 priority of an object.") (license license:expat))) +(define-public rust-procinfo-0.4 + (package + (name "rust-procinfo") + (version "0.4.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "procinfo" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "175l4cprsb56jrkycpz0743clgc8fyhxv4i8hhgqjd967mzl5cba")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" ; thread panic on bad unwrap. + "--skip=pid::status::tests::test_status") + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-nom" ,rust-nom-2) + ("rust-rustc-version" ,rust-rustc-version-0.2)))) + (home-page "https://github.com/danburkert/procinfo-rs") + (synopsis "Library for accessing Linux processes and system information") + (description + "This package provides a library for accessing Linux processes and system +information.") + (license (list license:expat license:asl2.0)))) + (define-public rust-proc-macro-crate-3 (package (name "rust-proc-macro-crate")