diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2022-02-07 14:09:38 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2022-02-07 14:19:16 +0200 |
commit | 063b43b95e796d189b4d3ae4325137a981afc16e (patch) | |
tree | d5365242444a4fa89ec74b0fe15a0181ea845768 /gnu/packages/linux.scm | |
parent | c5f9a4600dfe88910b535c5fa61901033d1cb790 (diff) |
gnu: novena-eeprom: Build with older i2c-tools.
* gnu/packages/admin.scm (novena-eeprom)[inputs]: Build with i2c-tools-3.
* gnu/packages/linux.scm (i2c-tools-3): New variable.
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r-- | gnu/packages/linux.scm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 74c65f86bc..c405a34197 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -4507,6 +4507,24 @@ EEPROM decoding scripts, EEPROM programming tools, and a python module for SMBus access.") (license license:gpl2+))) +(define-public i2c-tools-3 + (package + (inherit i2c-tools) + (name "i2c-tools") + (version "3.1.2") + (source (origin + (method url-fetch) + (uri (string-append + "http://jdelvare.nerim.net/mirror/i2c-tools/i2c-tools-" + version ".tar.bz2")) + (sha256 + (base32 "0hd4c1w8lnwc3j95h3vpd125170l1d4myspyrlpamqx6wbr6jpnv")))) + (arguments + (substitute-keyword-arguments (package-arguments i2c-tools) + ((#:make-flags _) + #~(list (string-append "prefix=" #$output) + (string-append "CC=" #$(cc-for-target)))))))) + (define-public xsensors (package (name "xsensors") |