mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 20:19:18 -05:00
gnu: hdparm: Move to (gnu packages disk).
* gnu/packages/linux.scm (hdparm): Move to... * gnu/packages/disk.scm (hdparm): ... here. Signed-off-by: Hilton Chain <hako@ultrarare.space>
This commit is contained in:
parent
f5eb5b7cac
commit
63b2d9a8f1
2 changed files with 39 additions and 38 deletions
|
@ -530,6 +530,44 @@ (define-public fatfsck/static
|
|||
and a @command{fsck.vfat} compatibility symlink for use in an initrd.")
|
||||
(license (package-license dosfstools))))
|
||||
|
||||
(define-public hdparm
|
||||
(package
|
||||
(name "hdparm")
|
||||
(version "9.65")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/hdparm/hdparm/"
|
||||
"hdparm-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0jssagggg52ssl9kg99m88afghj7bm1854vyf4p96q6h23wjjjfi"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
(list #:make-flags
|
||||
#~(list (string-append "binprefix=" #$output)
|
||||
(string-append "manprefix=" #$output)
|
||||
(string-append "CC=" #$(cc-for-target))
|
||||
;; Let Guix strip binaries and not break cross-compilation.
|
||||
"STRIP=true")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'configure)) ; no configure script
|
||||
#:tests? #f)) ; no test suite
|
||||
(home-page "https://sourceforge.net/projects/hdparm/")
|
||||
(synopsis "View and tune ATA disk drive parameters")
|
||||
(description
|
||||
"@command{hdparm} is a command-line utility to control ATA controllers and
|
||||
disk drives. It can increase performance and/or reliability by careful tuning
|
||||
of hardware settings like power and acoustic management, DMA modes, and caching.
|
||||
It can also display detailed device information, or be used as a simple
|
||||
performance benchmarking tool.
|
||||
|
||||
@command{hdparm} provides a command line interface to various Linux kernel
|
||||
interfaces provided by the SATA/ATA/SAS @code{libata} subsystem, and the older
|
||||
IDE driver subsystem. Many external USB drive enclosures with SCSI-ATA Command
|
||||
Translation (@dfn{SAT}) are also supported.")
|
||||
(license (license:non-copyleft "file://LICENSE.TXT"))))
|
||||
|
||||
(define-public sdparm
|
||||
(package
|
||||
(name "sdparm")
|
||||
|
|
|
@ -113,6 +113,7 @@ (define-module (gnu packages linux)
|
|||
#:use-module (gnu packages databases)
|
||||
#:use-module (gnu packages datastructures)
|
||||
#:use-module (gnu packages dbm)
|
||||
#:use-module (gnu packages disk)
|
||||
#:use-module (gnu packages docbook)
|
||||
#:use-module (gnu packages documentation)
|
||||
#:use-module (gnu packages elf)
|
||||
|
@ -5149,44 +5150,6 @@ (define-public singularity
|
|||
isolation or root privileges.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public hdparm
|
||||
(package
|
||||
(name "hdparm")
|
||||
(version "9.65")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://sourceforge/hdparm/hdparm/"
|
||||
"hdparm-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0jssagggg52ssl9kg99m88afghj7bm1854vyf4p96q6h23wjjjfi"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
(list #:make-flags
|
||||
#~(list (string-append "binprefix=" #$output)
|
||||
(string-append "manprefix=" #$output)
|
||||
(string-append "CC=" #$(cc-for-target))
|
||||
;; Let Guix strip binaries and not break cross-compilation.
|
||||
"STRIP=true")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'configure)) ; no configure script
|
||||
#:tests? #f)) ; no test suite
|
||||
(home-page "https://sourceforge.net/projects/hdparm/")
|
||||
(synopsis "View and tune ATA disk drive parameters")
|
||||
(description
|
||||
"@command{hdparm} is a command-line utility to control ATA controllers and
|
||||
disk drives. It can increase performance and/or reliability by careful tuning
|
||||
of hardware settings like power and acoustic management, DMA modes, and caching.
|
||||
It can also display detailed device information, or be used as a simple
|
||||
performance benchmarking tool.
|
||||
|
||||
@command{hdparm} provides a command line interface to various Linux kernel
|
||||
interfaces provided by the SATA/ATA/SAS @code{libata} subsystem, and the older
|
||||
IDE driver subsystem. Many external USB drive enclosures with SCSI-ATA Command
|
||||
Translation (@dfn{SAT}) are also supported.")
|
||||
(license (license:non-copyleft "file://LICENSE.TXT"))))
|
||||
|
||||
(define-public libnvme
|
||||
(package
|
||||
(name "libnvme")
|
||||
|
|
Loading…
Reference in a new issue