diff options
author | Sree Harsha Totakura <sreeharsha@totakura.in> | 2014-01-27 17:45:21 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-01-27 18:59:22 +0100 |
commit | 7c0dbe780a09d2938af34f49ae40ce6def92064a (patch) | |
tree | 375dfd7cdea555fae4cdbafb3530873911e60eb9 /gnu | |
parent | 5d80dd0823bab8483b31aea341d2ecabf54c3a23 (diff) | |
download | patches-7c0dbe780a09d2938af34f49ae40ce6def92064a.tar patches-7c0dbe780a09d2938af34f49ae40ce6def92064a.tar.gz |
gnu: linux: Add iotop-0.6.
* gnu/packages/linux.scm (iotop): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/linux.scm | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 5e80a5837d..82d1d44269 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.") |