From patchwork Tue Mar 19 03:51:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: normally_js X-Patchwork-Id: 61946 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 16B1727BBEB; Tue, 19 Mar 2024 03:54:53 +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 5C60C27BBE2 for ; Tue, 19 Mar 2024 03:54:52 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmQYa-00008j-Nn; Mon, 18 Mar 2024 23:54:32 -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 1rmQYX-00006n-Q9 for guix-patches@gnu.org; Mon, 18 Mar 2024 23:54:29 -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 1rmQYX-0008Rh-Hi for guix-patches@gnu.org; Mon, 18 Mar 2024 23:54:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmQZ9-000681-W7; Mon, 18 Mar 2024 23:55:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69890] [PATCH 43/43] gnu: Add procs. Resent-From: normalmente Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 19 Mar 2024 03:55:07 +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.171082046523256 (code B ref 69890); Tue, 19 Mar 2024 03:55:07 +0000 Received: (at 69890) by debbugs.gnu.org; 19 Mar 2024 03:54:25 +0000 Received: from localhost ([127.0.0.1]:35068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQYS-00062x-6f for submit@debbugs.gnu.org; Mon, 18 Mar 2024 23:54:24 -0400 Received: from mout02.posteo.de ([185.67.36.66]:46287) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQYI-0005zy-9w for 69890@debbugs.gnu.org; Mon, 18 Mar 2024 23:54:15 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 31EC6240101 for <69890@debbugs.gnu.org>; Tue, 19 Mar 2024 04:53:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710820410; bh=WXHFWyZuFUAmzgWNa/UnrY7cLYTVRfYrr8Mx2zfBDzo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=oGemzKN01prISHzFDaY1UBWSYm25XIdOdTw1xk2OQHRtJz/TWChPYH994otY6llQw kzXuB2nbE01llcgTRISQ7gbUauziREki3J/Jvqmjv0T10PfWFTl6ktMIDHoudrKDrs b92LX55AYHMQeISaQchoU9jhygED1aiUo0xRZTeWxwoFc0RhvOh5tdtZcJaAv5ZlGh lKgz004kmkSSYN9hvjT3s4kRLX/sbnN0rjilM7e6wcHZIgvJqtoemYAEsWzoRjjA51 OoVeViwf9fY1n3hduJbkn+iuDdJbYsHi5/QaIyQdf8sPYO8ZRjrwZHlpwXqx4lKquU VSwm7GSb0QmlA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TzHrT3xP9z6tm4; Tue, 19 Mar 2024 04:53:29 +0100 (CET) From: normalmente Date: Tue, 19 Mar 2024 03:51:14 +0000 Message-ID: <4ea5011f328a0c5fe53e6902ada196ddf5001c3e.1710817682.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/rust-apps.scm (procs): New variable. Change-Id: Ib30f481debae7f700d2fdf0848b210e579a79fe9 --- gnu/packages/rust-apps.scm | 62 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index 8eca82f40c..38b7951511 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,67 @@ (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 "This package provides a modern replacement for @command{ps}") + (license license:expat))) + (define-public tealdeer (package (name "tealdeer")