diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-05-22 02:00:02 +0200 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2022-05-22 02:00:10 +0200 |
commit | 00dcdfd73170cdc89f2f033a5164e452d8b827fe (patch) | |
tree | 2ea2273af200cbb83c15ed5f1323529bb235dda1 /gnu/packages/linux.scm | |
parent | b38069a4c9a0352faf0988f94a34c0251568dd8d (diff) | |
download | guix-00dcdfd73170cdc89f2f033a5164e452d8b827fe.tar.gz |
gnu: iotop: Update to 0.6-0.a14256a.
* gnu/packages/linux.scm (iotop): Update to 0.6-0.a14256a. [source]: Build from Git.
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r-- | gnu/packages/linux.scm | 61 |
1 files changed, 33 insertions, 28 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 8469f4380d..4664641509 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -3184,35 +3184,40 @@ the command line or a script.") (license 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 - '(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-build-with-python3 - (lambda _ - (substitute* "setup.py" - (("itervalues") "values")) - #t))) - ;; There are currently no checks in the package. - #:tests? #f)) - (native-inputs (list python)) - (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 + ;; The last release is from 2013 and gives a misleading CONFIG_TASK_DELAY_ACCT + ;; error on ‘newer’ kernels. + (let ((revision "0") + (commit "a14256a3ff74eeee59493ac088561f1bafab85a7")) + (package + (name "iotop") + (version (git-version "0.6" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://repo.or.cz/iotop.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00h5p8fk1zi237q8mqds8apqbis9iw0yih1hl0pr63dsnyzmmrpw")))) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-build-with-python3 + (lambda _ + (substitute* "setup.py" + (("itervalues") "values"))))) + ;; There are currently no checks in the package. + #:tests? #f)) + (native-inputs (list python)) + (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 license:gpl2+))) + (license license:gpl2+)))) (define-public fuse (package |