gnu: light: Update to 1.1.
* gnu/packages/linux.scm (light): Update to 1.1. [source]: Switch to GIT-FETCH.
This commit is contained in:
parent
14b0c49670
commit
a756fa5ac0
|
@ -4036,23 +4036,23 @@ monitoring tools for Linux. These include @code{mpstat}, @code{iostat},
|
||||||
(define-public light
|
(define-public light
|
||||||
(package
|
(package
|
||||||
(name "light")
|
(name "light")
|
||||||
(version "1.0")
|
(version "1.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (string-append "https://github.com/haikarainen/" name
|
(uri (git-reference
|
||||||
"/archive/v" version ".tar.gz"))
|
(url "https://github.com/haikarainen/light")
|
||||||
|
(commit version)))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0r5gn6c0jcxknzybl6059dplxv46dpahchqq4gymrs7z8bp0hilp"))
|
"1qra8yzsga29bxlvq63v1db071a1xdji7i60p4kzrciidm1206js"))))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f ; no tests
|
'(#:tests? #f ; no tests
|
||||||
#:make-flags (list "CC=gcc"
|
#:make-flags (list "CC=gcc"
|
||||||
(string-append "PREFIX=" %output))
|
(string-append "PREFIX=" %output))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure) ; no configure script
|
||||||
(add-after 'unpack 'patch-makefile
|
(add-after 'unpack 'patch-makefile
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "Makefile" (("chown") "#")))))))
|
(substitute* "Makefile" (("chown") "#")))))))
|
||||||
|
|
Loading…
Reference in New Issue