From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Geerinckx-Rice Subject: [PATCH v2] gnu: Add idle3-tools. Date: Tue, 8 Mar 2016 01:47:58 +0100 Message-ID: <1457398078-15313-1-git-send-email-tobias.geerinckx.rice@gmail.com> References: <20160304043356.GA3103@jasmine> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad5ov-0002wy-GU for guix-devel@gnu.org; Mon, 07 Mar 2016 19:48:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ad5or-0000mn-WA for guix-devel@gnu.org; Mon, 07 Mar 2016 19:48:17 -0500 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:32863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ad5or-0000mh-Oh for guix-devel@gnu.org; Mon, 07 Mar 2016 19:48:13 -0500 Received: by mail-wm0-x242.google.com with SMTP id n186so1195093wmn.0 for ; Mon, 07 Mar 2016 16:48:13 -0800 (PST) In-Reply-To: <20160304043356.GA3103@jasmine> 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 | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm index b9240a3..37c7bf5 100644 --- a/gnu/packages/disk.scm +++ b/gnu/packages/disk.scm @@ -171,3 +171,31 @@ 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))) + +(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 gpl3+))) -- 2.7.0