From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH]: gnu: Add i2c-tools. Date: Sat, 21 Feb 2015 19:23:45 +0100 Message-ID: <87egpj6s3y.fsf@mango.localdomain> Mime-Version: 1.0 Content-Type: text/x-patch Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPEis-0003dm-NH for guix-devel@gnu.org; Sat, 21 Feb 2015 13:24:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YPEio-0006hp-MS for guix-devel@gnu.org; Sat, 21 Feb 2015 13:24:14 -0500 Received: from sender1.zohomail.com ([74.201.84.155]:30841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YPEio-0006hd-Eg for guix-devel@gnu.org; Sat, 21 Feb 2015 13:24:10 -0500 Content-Disposition: inline; filename=0001-gnu-Add-i2c-tools.patch 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 >From 0822a1f36efbe6e8f3b399c43edc60b6b4831beb Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 21 Feb 2015 19:22:23 +0100 Subject: [PATCH] gnu: Add i2c-tools. * gnu/packages/linux.scm (i2c-tools): New variable. --- gnu/packages/linux.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 3bda6f2..08ac7d4 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1724,6 +1724,34 @@ you to access information from temperature, voltage, and fan speed sensors. It works with most newer systems.") (license gpl2+))) +(define-public i2c-tools + (package + (name "i2c-tools") + (version "3.1.1") + (source (origin + (method url-fetch) + (uri (string-append + "http://dl.lm-sensors.org/i2c-tools/releases/i2c-tools-" + version ".tar.bz2")) + (sha256 + (base32 + "000pvg995qy1b15ks59gd0klri55hb33kqpg5czy84hw1pbdgm0l")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no 'check' target + #:make-flags (list (string-append "prefix=" %output) + "CC=gcc") + #:phases + (alist-delete 'configure %standard-phases))) + (home-page "http://www.lm-sensors.org/wiki/I2CTools") + (synopsis "I2C tools for Linux") + (description + "The i2c-tools package contains a heterogeneous set of I2C tools for +Linux: a bus probing tool, a chip dumper, register-level SMBus access helpers, +EEPROM decoding scripts, EEPROM programming tools, and a python module for +SMBus access.") + (license gpl2+))) + (define-public xsensors (package (name "xsensors") -- 2.1.0