From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: [PATCH] gnu: Add idle3-tools. Date: Tue, 16 Feb 2016 04:56:32 +0100 Message-ID: <1455594992-25761-2-git-send-email-tobias.geerinckx.rice@gmail.com> References: <1455594992-25761-1-git-send-email-tobias.geerinckx.rice@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55190) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVWl6-00036j-Ug for guix-devel@gnu.org; Mon, 15 Feb 2016 22:57:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVWl3-0004h6-LB for guix-devel@gnu.org; Mon, 15 Feb 2016 22:57:04 -0500 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:34504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVWl3-0004h2-BD for guix-devel@gnu.org; Mon, 15 Feb 2016 22:57:01 -0500 Received: by mail-wm0-x22d.google.com with SMTP id b205so91768128wmb.1 for ; Mon, 15 Feb 2016 19:57:01 -0800 (PST) In-Reply-To: <1455594992-25761-1-git-send-email-tobias.geerinckx.rice@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/disk.scm (idle3-tools): New variable. * gnu/packages/disk.scm: Introduce license name space. --- gnu/packages/disk.scm | 40 ++++++++++++++++++++++++++++++++++------ 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm index b9240a3..92475a1 100644 --- a/gnu/packages/disk.scm +++ b/gnu/packages/disk.scm @@ -20,7 +20,7 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages disk) - #:use-module (guix licenses) + #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) @@ -68,7 +68,7 @@ (description "GNU Parted is a package for creating and manipulating disk partition tables. It includes a library and command-line utility.") - (license gpl3+))) + (license license:gpl3+))) (define-public fdisk (package @@ -94,7 +94,7 @@ tables. It includes a library and command-line utility.") "GNU fdisk provides a GNU version of the common disk partitioning tool fdisk. fdisk is used for the creation and manipulation of disk partition tables, and it understands a variety of different formats.") - (license gpl3+))) + (license license:gpl3+))) (define-public ddrescue (package @@ -117,7 +117,7 @@ tables, and it understands a variety of different formats.") from one file to another, working to rescue data in case of read errors. The program also includes a tool for manipulating its log files, which are used to recover data more efficiently by only reading the necessary blocks.") - (license gpl3+))) + (license license:gpl3+))) (define-public dosfstools (package @@ -144,7 +144,7 @@ to recover data more efficiently by only reading the necessary blocks.") (description "The dosfstools package includes the mkfs.fat and fsck.fat utilities, which respectively make and check MS-DOS FAT filesystems.") - (license gpl3+))) + (license license:gpl3+))) (define-public sdparm (package @@ -170,4 +170,32 @@ uses a SCSI command set. Such devices include CD/DVD drives (irrespective of transport), SCSI and ATAPI tape drives, and SCSI enclosures. This utility can also send commands associated with starting and stopping the media, loading and unloading removable media and some other housekeeping functions.") - (license bsd-3))) + (license 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 '("CC=gcc"))) + (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 license:gpl3+))) -- 2.7.0