diff options
| author | Giacomo Leidi <goodoldpaul@autistici.org> | 2024-01-31 17:55:06 +0100 |
|---|---|---|
| committer | John Kehayias <john.kehayias@protonmail.com> | 2024-01-31 15:48:57 -0500 |
| commit | ae314a6eaa8c07e728083eec066f1685decd2a91 (patch) | |
| tree | b12fc4b4f80e4cf3c05065a87f995936738eec52 | |
| parent | f9ed62f37d237fbb854554bd1d643fd3e1d05a2a (diff) | |
nongnu: anytype: Update to 0.38.
* nongnu/packages/productivity.scm (anytype): Update to 0.38.
[arguments]: Add strip-python phase.
Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
Co-authored-by: John Kehayias <john.kehayias@protonmail.com>
| -rw-r--r-- | nongnu/packages/productivity.scm | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/nongnu/packages/productivity.scm b/nongnu/packages/productivity.scm index d0b7f37..5ccabb7 100644 --- a/nongnu/packages/productivity.scm +++ b/nongnu/packages/productivity.scm | |||
| @@ -24,17 +24,17 @@ | |||
| 24 | (define-public anytype | 24 | (define-public anytype |
| 25 | (package | 25 | (package |
| 26 | (name "anytype") | 26 | (name "anytype") |
| 27 | (version "0.37.3") | 27 | (version "0.38") |
| 28 | (source | 28 | (source |
| 29 | (origin | 29 | (origin |
| 30 | (method url-fetch) | 30 | (method url-fetch) |
| 31 | (uri | 31 | (uri |
| 32 | (string-append "https://download.anytype.io?action=download" | 32 | (string-append "https://download.anytype.io?action=download" |
| 33 | "&key=desktop&id=142685264")) | 33 | "&key=desktop&id=148487107")) |
| 34 | (file-name (string-append "anytype-" version ".deb")) | 34 | (file-name (string-append "anytype-" version ".deb")) |
| 35 | (sha256 | 35 | (sha256 |
| 36 | (base32 | 36 | (base32 |
| 37 | "197v4dsn21yfi9dhcrqdznz3vfzicd79fc4abbpifacgb4fxcxq8")))) | 37 | "1xc57ppk3l16mq2a53scf79m8hx43x21kac96ws66awlkz14swc7")))) |
| 38 | (build-system chromium-binary-build-system) | 38 | (build-system chromium-binary-build-system) |
| 39 | (arguments | 39 | (arguments |
| 40 | (list | 40 | (list |
| @@ -58,6 +58,11 @@ | |||
| 58 | ("usr/share/" "/share")) | 58 | ("usr/share/" "/share")) |
| 59 | #:phases | 59 | #:phases |
| 60 | #~(modify-phases %standard-phases | 60 | #~(modify-phases %standard-phases |
| 61 | (add-after 'binary-unpack 'strip-python | ||
| 62 | (lambda _ | ||
| 63 | (delete-file | ||
| 64 | (string-append "opt/Anytype/resources/app.asar.unpacked/" | ||
| 65 | "node_modules/keytar/build/node_gyp_bins/python3")))) | ||
| 61 | (add-before 'install 'patch-assets | 66 | (add-before 'install 'patch-assets |
| 62 | (lambda _ | 67 | (lambda _ |
| 63 | (let* ((bin (string-append #$output "/bin")) | 68 | (let* ((bin (string-append #$output "/bin")) |
