all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Wil deBeest <bovid-19@4tii.de>
To: Maxime Devos <maximedevos@telenet.be>
Cc: 54974@debbugs.gnu.org, Greg Hogan <code@greghogan.com>
Subject: [bug#54974] [PATCH] added btop
Date: Fri, 29 Apr 2022 01:17:44 +0200	[thread overview]
Message-ID: <32AB7591-1B34-4AA9-B503-5CAFBCE10D60@4tii.de> (raw)
In-Reply-To: <3D9386AF-4BB9-4C79-B170-A6A2AEC13728@4tii.de>

Hi Maxime,

> Long term, %outputs, %build-inputs, ... are being phased out, so I'd go
> with, so I'd go with
> 
>   (arguments (list #:make-flags #~(string-append "PREFIX=" #$output)))
> 
> here instead.

I haven't been able to integrate your snippet into the package.   Could you
show me how to do so or tell me which part of the handbook would be
relevant?


> can 'bashtop' and 'bpytop' be removed now? (Using
> '(deprecated-package ...) for a smooth transition).

The projects are all by the same developer and bashtop hasn't changed in two years, so the assumption that the rewrites supersede the older implementations doesn't seem farfetched.


> What's an UP and DOWN key?  I just have a regular up and down keys but
> no fancy uppercase UP and DOWN keys ...
> [...]
> It's a list, so you can use the Texinfo markup @itemize, @item and @end
> itemize here.  It's also leaning a bit towards marketing talk with the
> ‘and more ...’ and rather subjective ‘fast and responsive UI’, ...

That was just copy & paste, I had forgotten about cut ;)


Cheers
Wil



|--------------------------|
| [PATCH] added btop 1.2.6 |
|--------------------------|


---
gnu/packages/admin.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index a200050d97..7b2e9660e1 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -752,6 +752,36 @@ (define-public bpytop
@command{bashtop}.")
    (license license:asl2.0)))

+(define-public btop
+  (package
+    (name "btop")
+    (version "1.2.6")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/aristocratos/btop")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "03nd34q1w01visd2bg7mxrcjn0s6lnbm4s0vsfsj2mfv1rvyjl5b"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:make-flags
+       (list (string-append "PREFIX=" %output))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))
+        #:tests? #f))
+    (home-page "https://github.com/aristocratos/btop")
+    (synopsis "Resource monitor")
+    (description "Resource monitor that shows usage and stats
+for processor, memory, disks, network and processes.
+
+C++ version and continuation of bashtop and bpytop.")
+    (license license:asl2.0)))
+
(define-public pies
  (package
    (name "pies")

base-commit: 882cacc1bb5be0df334dd7ce55b385a3a1678728
-- 
2.35.1





  parent reply	other threads:[~2022-04-28 23:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-16 15:37 [bug#54974] [PATCH] added btop Wil deBeest
2022-04-18 13:40 ` Greg Hogan
2022-04-18 18:47   ` Maxime Devos
2022-04-18 18:02 ` Wil deBeest
2022-04-18 18:53 ` Maxime Devos
2022-04-18 18:55 ` Maxime Devos
2022-04-28 23:17 ` Wil deBeest [this message]
2022-04-29  9:37   ` Maxime Devos
2022-05-28 11:21 ` Wil deBeest

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32AB7591-1B34-4AA9-B503-5CAFBCE10D60@4tii.de \
    --to=bovid-19@4tii.de \
    --cc=54974@debbugs.gnu.org \
    --cc=code@greghogan.com \
    --cc=maximedevos@telenet.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.