gnu: light: Update to 1.2.
* gnu/packages/linux.scm (light): Update to 1.2. [source]: Switch to url-fetch. [arguments]: Remove. [native-inputs]: Remove help2man. Add autoconf and automake. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
16d212510a
commit
ff598353c0
|
@ -30,6 +30,7 @@
|
||||||
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
|
;;; Copyright © 2018 Pierre-Antoine Rouby <pierre-antoine.rouby@inria.fr>
|
||||||
;;; Copyright © 2018 Brendan Tildesley <brendan.tildesley@openmailbox.org>
|
;;; Copyright © 2018 Brendan Tildesley <brendan.tildesley@openmailbox.org>
|
||||||
;;; Copyright © 2018 Manuel Graf <graf@init.at>
|
;;; Copyright © 2018 Manuel Graf <graf@init.at>
|
||||||
|
;;; Copyright © 2018 Pierre Langlois <pierre.langlois@gmx.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -4167,30 +4168,21 @@ monitoring tools for Linux. These include @code{mpstat}, @code{iostat},
|
||||||
(define-public light
|
(define-public light
|
||||||
(package
|
(package
|
||||||
(name "light")
|
(name "light")
|
||||||
(version "1.1.2")
|
(version "1.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method url-fetch)
|
||||||
(uri (git-reference
|
(uri (string-append
|
||||||
(url "https://github.com/haikarainen/light")
|
"https://github.com/haikarainen/light/archive/v"
|
||||||
(commit version)))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0c934gxav9cgdf94li6dp0rfqmpday9d33vdn9xb2mfp4war9n4w"))))
|
"1gfvsw7gh5pis733l7j54vzp272pvjyzbg8a0pvapfmg0s7mip97"))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
|
||||||
'(#:tests? #f ; no tests
|
|
||||||
#:make-flags (list "CC=gcc"
|
|
||||||
(string-append "PREFIX=" %output))
|
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(delete 'configure) ; no configure script
|
|
||||||
(add-after 'unpack 'patch-makefile
|
|
||||||
(lambda _
|
|
||||||
(substitute* "Makefile" (("chown") "#"))
|
|
||||||
#t)))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("help2man" ,help2man)))
|
`(("autoconf" ,autoconf)
|
||||||
(home-page "https://haikarainen.github.io/light")
|
("automake" ,automake)))
|
||||||
|
(home-page "https://haikarainen.github.io/light/")
|
||||||
(synopsis "GNU/Linux application to control backlights")
|
(synopsis "GNU/Linux application to control backlights")
|
||||||
(description
|
(description
|
||||||
"Light is a program to send commands to screen backlight controllers
|
"Light is a program to send commands to screen backlight controllers
|
||||||
|
|
Loading…
Reference in New Issue