all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Thompson <dthompson2@worcester.edu>
To: Ricardo Wurmus <rekado@elephly.net>, Guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH]: gnu: Add i2c-tools.
Date: Sat, 21 Feb 2015 14:07:52 -0500	[thread overview]
Message-ID: <87zj879j7b.fsf@fsf.org> (raw)
In-Reply-To: <87egpj6s3y.fsf@mango.localdomain>

Ricardo Wurmus <rekado@elephly.net> writes:

> From 0822a1f36efbe6e8f3b399c43edc60b6b4831beb Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> 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)))

I would fold this into the previous line, and maybe add a comment that
there is no configure script.

> +    (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

Lookin' good!

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

      reply	other threads:[~2015-02-21 19:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-21 18:23 [PATCH]: gnu: Add i2c-tools Ricardo Wurmus
2015-02-21 19:07 ` David Thompson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zj879j7b.fsf@fsf.org \
    --to=dthompson2@worcester.edu \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.