gnu: iotop: Update to 0.6-0.a14256a.

* gnu/packages/linux.scm (iotop): Update to 0.6-0.a14256a.
[source]: Build from Git.
This commit is contained in:
Tobias Geerinckx-Rice 2022-05-22 02:00:02 +02:00
parent b38069a4c9
commit 00dcdfd731
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -3184,16 +3184,22 @@ the command line or a script.")
(license license:gpl2+))) (license license:gpl2+)))
(define-public iotop (define-public iotop
;; The last release is from 2013 and gives a misleading CONFIG_TASK_DELAY_ACCT
;; error on newer kernels.
(let ((revision "0")
(commit "a14256a3ff74eeee59493ac088561f1bafab85a7"))
(package (package
(name "iotop") (name "iotop")
(version "0.6") (version (git-version "0.6" revision commit))
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "http://guichaz.free.fr/iotop/files/iotop-" (uri (git-reference
version ".tar.gz")) (url "https://repo.or.cz/iotop.git")
(sha256 (base32 (commit commit)))
"1kp8mqg2pbxq4xzpianypadfxcsyfgwcaqgqia6h9fsq6zyh4z0s")))) (file-name (git-file-name name version))
(sha256
(base32 "00h5p8fk1zi237q8mqds8apqbis9iw0yih1hl0pr63dsnyzmmrpw"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(#:phases '(#:phases
@ -3201,8 +3207,7 @@ the command line or a script.")
(add-after 'unpack 'fix-build-with-python3 (add-after 'unpack 'fix-build-with-python3
(lambda _ (lambda _
(substitute* "setup.py" (substitute* "setup.py"
(("itervalues") "values")) (("itervalues") "values")))))
#t)))
;; There are currently no checks in the package. ;; There are currently no checks in the package.
#:tests? #f)) #:tests? #f))
(native-inputs (list python)) (native-inputs (list python))
@ -3212,7 +3217,7 @@ the command line or a script.")
(description (description
"Iotop is a Python program with a top like user interface to show the "Iotop is a Python program with a top like user interface to show the
processes currently causing I/O.") processes currently causing I/O.")
(license license:gpl2+))) (license license:gpl2+))))
(define-public fuse (define-public fuse
(package (package