diff options
| author | Giacomo Leidi <goodoldpaul@autistici.org> | 2024-01-31 18:23:14 +0100 |
|---|---|---|
| committer | John Kehayias <john.kehayias@protonmail.com> | 2024-01-31 15:38:42 -0500 |
| commit | f9ed62f37d237fbb854554bd1d643fd3e1d05a2a (patch) | |
| tree | 7dd26f063f70d4c94407098e3570a7fa38318839 | |
| parent | 6b779b8179a08ef0545cb69f3fc0459149b4d52c (diff) | |
nongnu: vscodium: Update to 1.85.2.24019.
* nongnu/packages/editors (vscodium): Update to 1.85.2.24019.
[origin]: Download correct binary for different architectures.
[supported-systems]: List all supported architectures.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
| -rw-r--r-- | nongnu/packages/editors.scm | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/nongnu/packages/editors.scm b/nongnu/packages/editors.scm index d9a5c0a..6b35962 100644 --- a/nongnu/packages/editors.scm +++ b/nongnu/packages/editors.scm | |||
| @@ -8,21 +8,26 @@ | |||
| 8 | #:use-module (guix gexp) | 8 | #:use-module (guix gexp) |
| 9 | #:use-module (guix packages) | 9 | #:use-module (guix packages) |
| 10 | #:use-module ((guix licenses) :prefix license:) | 10 | #:use-module ((guix licenses) :prefix license:) |
| 11 | #:use-module (nonguix build-system chromium-binary)) | 11 | #:use-module (nonguix build-system chromium-binary) |
| 12 | #:use-module (ice-9 match)) | ||
| 12 | 13 | ||
| 13 | (define-public vscodium | 14 | (define-public vscodium |
| 14 | (package | 15 | (package |
| 15 | (name "vscodium") | 16 | (name "vscodium") |
| 16 | (version "1.85.0.23343") | 17 | (version "1.85.2.24019") |
| 17 | (source | 18 | (source |
| 18 | (origin | 19 | (origin |
| 19 | (method url-fetch) | 20 | (method url-fetch) |
| 20 | (uri | 21 | (uri |
| 21 | (string-append | 22 | (let ((arch (match (or (%current-target-system) (%current-system)) |
| 22 | "https://github.com/VSCodium/vscodium/releases/download/" version | 23 | ("aarch64-linux" "arm64") |
| 23 | "/VSCodium-linux-x64-" version ".tar.gz")) | 24 | ("armhf-linux" "armhf") |
| 25 | (_ "x64")))) | ||
| 26 | (string-append | ||
| 27 | "https://github.com/VSCodium/vscodium/releases/download/" version | ||
| 28 | "/VSCodium-linux-" arch "-" version ".tar.gz"))) | ||
| 24 | (sha256 | 29 | (sha256 |
| 25 | (base32 "16m7a2j9rmnp9pqpyyy2dx09paj1qh0h4gb1dhhwakw7w0zjlxn5")))) | 30 | (base32 "0nd9hipz1jhjdv6hrm6q2jpppanh8nmkpy9zpayymy4dwif8a49q")))) |
| 26 | (build-system chromium-binary-build-system) | 31 | (build-system chromium-binary-build-system) |
| 27 | (arguments | 32 | (arguments |
| 28 | (list #:validate-runpath? #f ; TODO: fails on wrapped binary and included other files | 33 | (list #:validate-runpath? #f ; TODO: fails on wrapped binary and included other files |
| @@ -80,6 +85,7 @@ | |||
| 80 | (,(string-join | 85 | (,(string-join |
| 81 | (list (string-append #$output "/opt/vscodium")) | 86 | (list (string-append #$output "/opt/vscodium")) |
| 82 | ":"))))))))) | 87 | ":"))))))))) |
| 88 | (supported-systems '("armhf-linux" "aarch64-linux" "x86_64-linux")) | ||
| 83 | (native-inputs | 89 | (native-inputs |
| 84 | (list tar)) | 90 | (list tar)) |
| 85 | (inputs | 91 | (inputs |
