me
/
guix
Archived
1
0
Fork 0

gnu: ungoogled-chromium: Inline %PACKAGE-VERSION.

* gnu/packages/chromium.scm (%chromium-version, package-revision,
%package-version): Remove.
(ungoogled-chromium)[version, source]: Adjust accordingly.
master
Marius Bakke 2020-06-26 13:50:20 +02:00
parent 6e9f882608
commit 3163bc5f44
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 3 additions and 7 deletions

View File

@ -254,14 +254,9 @@
;; run the Blink performance tests, just remove everything to save ~24MiB. ;; run the Blink performance tests, just remove everything to save ~24MiB.
'("third_party/blink/perf_tests")) '("third_party/blink/perf_tests"))
(define %chromium-version "83.0.4103.116")
(define %ungoogled-revision "f08ce8b3f1300ef0750b5d6bf967b9cbbfd9a56d") (define %ungoogled-revision "f08ce8b3f1300ef0750b5d6bf967b9cbbfd9a56d")
(define %debian-revision "debian/81.0.4044.92-1") (define %debian-revision "debian/81.0.4044.92-1")
(define %gentoo-revision "55ef09d6709f4e4cbe23418e4ade0f219fa2fa1f") (define %gentoo-revision "55ef09d6709f4e4cbe23418e4ade0f219fa2fa1f")
(define package-revision "0")
(define %package-version (string-append %chromium-version "-"
package-revision "."
(string-take %ungoogled-revision 7)))
(define (gentoo-patch name revision hash) (define (gentoo-patch name revision hash)
(origin (origin
@ -410,13 +405,14 @@
(define-public ungoogled-chromium (define-public ungoogled-chromium
(package (package
(name "ungoogled-chromium") (name "ungoogled-chromium")
(version %package-version) (version (string-append "83.0.4103.116-0."
(string-take %ungoogled-revision 7)))
(synopsis "Graphical web browser") (synopsis "Graphical web browser")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://commondatastorage.googleapis.com" (uri (string-append "https://commondatastorage.googleapis.com"
"/chromium-browser-official/chromium-" "/chromium-browser-official/chromium-"
%chromium-version ".tar.xz")) (car (string-split version #\-)) ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1hravbi1lazmab2mih465alfzji1kzy38zya1visbwz9zs6pw35v")) "1hravbi1lazmab2mih465alfzji1kzy38zya1visbwz9zs6pw35v"))