From patchwork Wed Mar 20 18:35:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: normally_js X-Patchwork-Id: 62023 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 01D2327BBEB; Wed, 20 Mar 2024 18:37:46 +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 D6CAC27BBE2 for ; Wed, 20 Mar 2024 18:37:43 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rn0oc-0001qj-C7; Wed, 20 Mar 2024 14:37:30 -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 1rn0oW-0001qN-Sf for guix-patches@gnu.org; Wed, 20 Mar 2024 14:37:25 -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 1rn0oV-0005ae-AZ for guix-patches@gnu.org; Wed, 20 Mar 2024 14:37:24 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rn0p8-0001aY-A7; Wed, 20 Mar 2024 14:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69890] [PATCH v2REVISION 43/43] gnu: Add procs. References: In-Reply-To: Resent-From: normalmente Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 20 Mar 2024 18:38: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.17109598275941 (code B ref 69890); Wed, 20 Mar 2024 18:38:02 +0000 Received: (at 69890) by debbugs.gnu.org; 20 Mar 2024 18:37:07 +0000 Received: from localhost ([127.0.0.1]:55575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rn0oE-0001Xi-QS for submit@debbugs.gnu.org; Wed, 20 Mar 2024 14:37:07 -0400 Received: from mout02.posteo.de ([185.67.36.66]:51549) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rn0oB-0001Ww-Iu for 69890@debbugs.gnu.org; Wed, 20 Mar 2024 14:37:05 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 34503240103 for <69890@debbugs.gnu.org>; Wed, 20 Mar 2024 19:36:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710959778; bh=Rly8yIFpeer3qquthGm0ybwUdgtq0gIj/p/QjDbbggk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=drtRBlxhjrgT0rUMbI64uTd1uYYWr7Ighv0z4gG7fZ+2ehKnq+J7Y/IDW9DI5bYnK yx+KGPi7PRjVKkmUyTkGyxLWn5M7HoVg1fD8WJBbfn6tJalu18PM5H3TBky/NueIF2 vPne5SI7jWDwVVoWGZJV6ZnD4D81VTch5qLr2COQ84VBy8utCPKIJrKcXN7SHQsI4V XC7oxK1ffuWN1g9sfTT6RDzuLlRvfCMaB94J03IVrN4KrDtNDS22SjCiBuvJuUrRSN w4t1yrD/b9BtKBw4hDfAQ8XaXOO66fYuAcU/N3P1o8TX3dMNYlxMtzH6PgLNn0nd9a v9u6MHREMyT6A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V0HNd2Lzrz9rxF; Wed, 20 Mar 2024 19:36:17 +0100 (CET) From: normalmente Date: Wed, 20 Mar 2024 18:35:29 +0000 Message-ID: <44b58d4e8816d79dad2d019231997e34fd72fdf4.1710959729.git.normally_js@posteo.net> 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 Made more compliant with the Guix coding style. * gnu/packages/rust-apps.scm (procs): New variable. Change-Id: Ib30f481debae7f700d2fdf0848b210e579a79fe9 --- gnu/packages/rust-apps.scm | 69 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) base-commit: aec00d246ecc12846560d15eae2c9fc9c6e6cc74 prerequisite-patch-id: 484040c16e1f3fec4c0e063959971360cd081d2b prerequisite-patch-id: fba712849afb533e723f02c0f707aaaad4f96b5e prerequisite-patch-id: 8f6b4de09dce7abbe70be8f8309132ca70241383 prerequisite-patch-id: c4eeda1c3312b8bdd7c8569622002a1688654825 prerequisite-patch-id: 49d2febf2143f5d0af3f50305cef0d6209218238 prerequisite-patch-id: 70ce83005fa68899f8fc5e59e2eb61d51eb4a0db prerequisite-patch-id: fd6cb1319d9ec76f9ec1bfd9c2c8ec39f8d23614 prerequisite-patch-id: 4e95f026383f8437afed261f04f324ed986946e9 prerequisite-patch-id: 24663db5c74615c0663b6a81f898d2e152b670a6 prerequisite-patch-id: 76a0be3a16a985e77bac8b6e727ae2886dc36d45 prerequisite-patch-id: 92dcbd5360193a30e04f16613b7672c2b90931b5 prerequisite-patch-id: 16a75150632a8703019d384bfb414f76ddb642b4 prerequisite-patch-id: a4a315e944cea7b2b4417c3890f9a6c5c34ce289 prerequisite-patch-id: 1594dc98a02225ed81b9012151028e9e6b9039bf prerequisite-patch-id: 4275f1976601eb09ece36e523d7f4b2b73b06c58 prerequisite-patch-id: 9be4b1232bfa52eba93ea4b7784ab5fb1a1fdd0d prerequisite-patch-id: 104c7951cabfaa95f3a99cdb0149158334835118 prerequisite-patch-id: ee1c3dcacf73b94720d9e248fd8a4e94958bf0b4 prerequisite-patch-id: 2ebd7100eab3d79c8a3672a7dc1142d88ba6f64d prerequisite-patch-id: 225858a6dbefee7b00f7cbaf8eec09c6732b0140 prerequisite-patch-id: ece3d0cb9da430739f9c4d5202716a51a69499ec prerequisite-patch-id: e5a37fb436559aca11b74bf76f344123b05f21b5 prerequisite-patch-id: de83a7e002f2b6621b5b011f902e8770e9983b42 prerequisite-patch-id: a7af41677deb6baf775ebd29c6225cc5c87e7b0d prerequisite-patch-id: f9cb7693fd50c91d45cfeb43dd60257c4a59679b prerequisite-patch-id: 6ccad1d4cc22c5232e70f0180c88e467ebd15086 prerequisite-patch-id: e892282191afb19e0a28b5f132a66cbcdeedcf92 prerequisite-patch-id: 2e8cbe8d3f492190afafdf424d0f832d119842ad prerequisite-patch-id: fc7d51828e20ac623c2088c7c2e40c77a6be307d prerequisite-patch-id: 5498361d6b7cffd73b9a3e3b860ea7961fc74952 prerequisite-patch-id: 753ba88b5a3e90957c8586254a251decd44bd418 prerequisite-patch-id: d6fad01da9e5f620391e4573092fb84dffdd6b60 prerequisite-patch-id: ff1f55ac29cb9ddc4c0c83ce8a475467e7726c99 prerequisite-patch-id: a5e332f31b8869b376abe5a9b1f9323767347904 prerequisite-patch-id: a3b5847d8ed027bd58bc119e7a111755236341fb prerequisite-patch-id: 111640a81c62263f9e88672e3332593119d63701 prerequisite-patch-id: fceb02e6cca9c6160e61e5b22e29f794b48ece88 prerequisite-patch-id: d2007de88f9840398dec5824429ffe0308767674 prerequisite-patch-id: c643e5b555d728b6aedea8b8ecd8e5f917986657 prerequisite-patch-id: 9f279125b0e3034ffa23bce3620e1b3d1479dcaf prerequisite-patch-id: fbd361f5c79202dffceed41f212cd93655cad61f prerequisite-patch-id: 30a0763c25bfbcea425c0228441089d2071d0dfb -- 2.41.0 diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 8eca82f40c..4a5c396ee8 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -31,6 +31,7 @@ ;;; Copyright © 2024 Herman Rimm ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; Copyright © 2024 Suhail Singh +;;; Copyright © 2024 normally_js ;;; ;;; This file is part of GNU Guix. ;;; @@ -2808,6 +2809,74 @@ (define-public swayr daemon which executes them.") (license license:gpl3+))) +(define-public procs + (package + (name "procs") + (version "0.14.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "procs" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ixl4912md5spanasf4kj0js35j6ff2rpwxbj9q15699cj5di8x4")))) + (build-system cargo-build-system) + (arguments + (list + #:install-source? #f + #:cargo-inputs `(("rust-anyhow" ,rust-anyhow-1) + ("rust-bsd-kvm" ,rust-bsd-kvm-0.1) + ("rust-bsd-kvm-sys" ,rust-bsd-kvm-sys-0.2) + ("rust-byte-unit" ,rust-byte-unit-5) + ("rust-chrono" ,rust-chrono-0.4) + ("rust-clap" ,rust-clap-4) + ("rust-clap-complete" ,rust-clap-complete-4) + ("rust-console" ,rust-console-0.15) + ("rust-directories" ,rust-directories-5) + ("rust-dockworker" ,rust-dockworker-0.5) + ("rust-errno" ,rust-errno-0.3) + ("rust-getch" ,rust-getch-0.3) + ("rust-libc" ,rust-libc-0.2) + ("rust-libproc" ,rust-libproc-0.14) + ("rust-minus" ,rust-minus-5) + ("rust-nix" ,rust-nix-0.28) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-pager" ,rust-pager-0.16) + ("rust-pager" ,rust-pager-0.16) + ("rust-procfs" ,rust-procfs-0.16) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-termbg" ,rust-termbg-0.5) + ("rust-tokio" ,rust-tokio-1) + ("rust-toml" ,rust-toml-0.8) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-uzers" ,rust-uzers-0.11) + ("rust-which" ,rust-which-6) + ("rust-winapi" ,rust-winapi-0.3)) + #:phases #~(modify-phases %standard-phases + (add-after 'install 'install-manual-page + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (man (string-append out "/share/man/man1"))) + (with-directory-excursion "man" + (invoke "a2x" + "-L" + "-d" + "manpage" + "-f" + "manpage" + "procs.1.adoc")) + (install-file "man/procs.1" man))))))) + (native-inputs (list asciidoc)) + (home-page "https://github.com/dalance/procs") + (synopsis "Modern replacement for @command{ps}") + (description + "A modern replacement for @command{ps} with colored output, +multi-column keyword search, additional information, pager support, watch +support (like @command{top}) and a tree view.") + (license license:expat))) + (define-public tealdeer (package (name "tealdeer")