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.
This commit is contained in:
Efraim Flashner 2022-02-07 14:09:38 +02:00
parent c5f9a4600d
commit 063b43b95e
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 19 additions and 1 deletions

View file

@ -4770,7 +4770,7 @@ (define-public novena-eeprom
(install-file "novena-eeprom" out-bin) (install-file "novena-eeprom" out-bin)
(install-file "novena-eeprom.8" out-share-man))))))) (install-file "novena-eeprom.8" out-share-man)))))))
(inputs (inputs
(list i2c-tools)) (list i2c-tools-3))
(synopsis "Novena EEPROM editor") (synopsis "Novena EEPROM editor")
(description "This package provides an editor for the Novena EEPROM. (description "This package provides an editor for the Novena EEPROM.
Novena boards contain a device-dependent descriptive EEPROM that defines Novena boards contain a device-dependent descriptive EEPROM that defines

View file

@ -4507,6 +4507,24 @@ (define-public i2c-tools
SMBus access.") SMBus access.")
(license license:gpl2+))) (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 (define-public xsensors
(package (package
(name "xsensors") (name "xsensors")