mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 12:09:15 -05:00
gnu: Add idle3-tools.
* gnu/packages/disk.scm (idle3-tools): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
892f92b7aa
commit
8e14e059c4
1 changed files with 32 additions and 0 deletions
|
@ -171,3 +171,35 @@ (define-public sdparm
|
||||||
also send commands associated with starting and stopping the media, loading
|
also send commands associated with starting and stopping the media, loading
|
||||||
and unloading removable media and some other housekeeping functions.")
|
and unloading removable media and some other housekeeping functions.")
|
||||||
(license bsd-3)))
|
(license bsd-3)))
|
||||||
|
|
||||||
|
(define-public idle3-tools
|
||||||
|
(package
|
||||||
|
(name "idle3-tools")
|
||||||
|
(version "0.9.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "mirror://sourceforge/idle3-tools/idle3-tools-"
|
||||||
|
version ".tgz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"00ia7xq9yldxyl9gz0mr4xa568nav14p0fnv82f2rbbkg060cy4p"))))
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f ;no test suite
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(delete 'configure))
|
||||||
|
#:make-flags (list "CC=gcc"
|
||||||
|
(string-append "manprefix=")
|
||||||
|
(string-append "DESTDIR="
|
||||||
|
(assoc-ref %outputs "out")))))
|
||||||
|
(home-page "http://idle3-tools.sourceforge.net")
|
||||||
|
(synopsis "Change or disable Western Digital hard drives' Idle3 timer")
|
||||||
|
(description
|
||||||
|
"Idle3-tools provides a utility to get, set, or disable the Idle3 timer
|
||||||
|
present in many Western Digital hard drives. This timer is part of the
|
||||||
|
\"IntelliPark\" feature that stops the disk when not in use. Unfortunately,
|
||||||
|
the default timer setting is not well suited to Linux or other *nix systems,
|
||||||
|
and can dramatically shorten the lifespan of the drive if left unchecked.")
|
||||||
|
(license gpl3+)))
|
||||||
|
|
Loading…
Reference in a new issue