* [PATCH] gnu: linux: Add iotop-0.6.
@ 2014-01-27 16:45 Sree Harsha Totakura
2014-01-27 18:05 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Sree Harsha Totakura @ 2014-01-27 16:45 UTC (permalink / raw)
To: guix-devel
* gnu/packages/linux.scm (iotop): New variable.
---
gnu/packages/linux.scm | 29 ++++++++++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 5e80a58..60bfaca 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -30,6 +30,7 @@
#:use-module (gnu packages bdb)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages python)
#:use-module (gnu packages algebra)
#:use-module (gnu packages gettext)
#:use-module (gnu packages pulseaudio)
@@ -38,7 +39,8 @@
#:use-module (gnu packages autotools)
#:use-module (guix packages)
#:use-module (guix download)
- #:use-module (guix build-system gnu))
+ #:use-module (guix build-system gnu)
+ #:use-module (guix build-system python))
(define-public (system->linux-architecture arch)
"Return the Linux architecture name for ARCH, a Guix system name such as
@@ -840,3 +842,28 @@ settings.")
"Aumix adjusts an audio mixer from X, the console, a terminal,
the command line or a script.")
(license gpl2+)))
+
+(define-public iotop
+ (package
+ (name "iotop")
+ (version "0.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://guichaz.free.fr/iotop/files/iotop-"
+ version ".tar.gz"))
+ (sha256 (base32
+ "1kp8mqg2pbxq4xzpianypadfxcsyfgwcaqgqia6h9fsq6zyh4z0s"))))
+ (build-system python-build-system)
+ (arguments
+ ;; The setup.py script expects python-2
+ `(#:python ,python-2
+ ;; There are currently no checks in the package
+ #:tests? #f))
+ (native-inputs `(("python" ,python-2)))
+ (home-page "http://guichaz.free.fr/iotop/")
+ (synopsis
+ "Displays the IO activity of running processes")
+ (description
+ "Iotop is a Python program with a top like user interface to show the
+processes currently causing I/O.")
+ (license gpl2+)))
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] gnu: linux: Add iotop-0.6.
2014-01-27 16:45 [PATCH] gnu: linux: Add iotop-0.6 Sree Harsha Totakura
@ 2014-01-27 18:05 ` Ludovic Courtès
2014-01-27 19:18 ` Sree Harsha Totakura
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2014-01-27 18:05 UTC (permalink / raw)
To: Sree Harsha Totakura; +Cc: guix-devel
Sree Harsha Totakura <sreeharsha@totakura.in> skribis:
> * gnu/packages/linux.scm (iotop): New variable.
Pushed, thanks (I made a mistake so this is two commits instead of one;
sorry!).
I applied it to ‘master’, but it needs a fix for
<http://bugs.gnu.org/16569>, right?
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] gnu: linux: Add iotop-0.6.
2014-01-27 18:05 ` Ludovic Courtès
@ 2014-01-27 19:18 ` Sree Harsha Totakura
0 siblings, 0 replies; 3+ messages in thread
From: Sree Harsha Totakura @ 2014-01-27 19:18 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
On 01/27/2014 07:05 PM, Ludovic Courtès wrote:
> Pushed, thanks (I made a mistake so this is two commits instead of one;
> sorry!).
>
> I applied it to ‘master’, but it needs a fix for
> <http://bugs.gnu.org/16569>, right?
Yes, it needs to be fixed for this.
Sree
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-01-27 19:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-27 16:45 [PATCH] gnu: linux: Add iotop-0.6 Sree Harsha Totakura
2014-01-27 18:05 ` Ludovic Courtès
2014-01-27 19:18 ` Sree Harsha Totakura
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).