mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: ungoogled-chromium: Include Ungoogled revision in version string.
* gnu/packages/chromium.scm (package-revision, %package-version): New variables. (ungoogled-chromium-source)[file-name]: Use %PACKAGE-VERSION. (ungoogled-chromium)[version]: Likewise.
This commit is contained in:
parent
28cbf65cb9
commit
718540d21b
1 changed files with 7 additions and 2 deletions
|
@ -225,6 +225,11 @@ (define* (computed-origin-method gexp-promise hash-algo hash
|
|||
|
||||
(define %chromium-version "72.0.3626.109")
|
||||
(define %ungoogled-revision "a58db880c15e5077e881cad7b07d1a277ecd463a")
|
||||
(define package-revision "0")
|
||||
|
||||
(define %package-version (string-append %chromium-version "-"
|
||||
package-revision "."
|
||||
(string-take %ungoogled-revision 7)))
|
||||
|
||||
;; This is a "computed" origin that does the following:
|
||||
;; 1) Runs the Ungoogled scripts on a pristine Chromium tarball.
|
||||
|
@ -253,7 +258,7 @@ (define ungoogled-chromium-source
|
|||
|
||||
(origin
|
||||
(method computed-origin-method)
|
||||
(file-name (string-append "ungoogled-chromium-" %chromium-version ".tar.xz"))
|
||||
(file-name (string-append "ungoogled-chromium-" %package-version ".tar.xz"))
|
||||
(sha256 #f)
|
||||
(uri
|
||||
(delay
|
||||
|
@ -347,7 +352,7 @@ (define opus+custom
|
|||
(define-public ungoogled-chromium
|
||||
(package
|
||||
(name "ungoogled-chromium")
|
||||
(version %chromium-version)
|
||||
(version %package-version)
|
||||
(synopsis "Graphical web browser")
|
||||
(source ungoogled-chromium-source)
|
||||
(build-system gnu-build-system)
|
||||
|
|
Loading…
Reference in a new issue