summaryrefslogtreecommitdiff
path: root/nongnu
diff options
context:
space:
mode:
authorGiacomo Leidi <goodoldpaul@autistici.org>2024-08-25 16:39:18 +0200
committerJohn Kehayias <john.kehayias@protonmail.com>2024-09-22 15:24:58 -0400
commit269997b06c0a45688ef439872eecc9f7802388bb (patch)
treec94babebef814dc74b53198e82b44d9292bcac27 /nongnu
parenta26aa5ecad7168f24103e15cfbdcdac6f48b341f (diff)
nongnu: anytype: Update to 0.42.4.
* nongnu/packages/productivity.scm (anytype): Update to 0.42.4. [arguments]<#:phases>: Add disable-auto-updates and strip-regedit phases. Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
Diffstat (limited to 'nongnu')
-rw-r--r--nongnu/packages/productivity.scm14
1 files changed, 12 insertions, 2 deletions
diff --git a/nongnu/packages/productivity.scm b/nongnu/packages/productivity.scm
index 4527fc1..ca6e84b 100644
--- a/nongnu/packages/productivity.scm
+++ b/nongnu/packages/productivity.scm
@@ -27,7 +27,7 @@
(define-public anytype
(package
(name "anytype")
- (version "0.42.3")
+ (version "0.42.4")
(source
(origin
(method url-fetch)
@@ -37,7 +37,7 @@
(file-name (string-append "anytype-" version ".deb"))
(sha256
(base32
- "14n29syg628ygh3716qffygrdl7zkv96c01h958g9arkrfipxi5r"))))
+ "17a2z6fd977wr9jswqfdq0y5i8blfxmbf4974b5m00cr1lxjkb6n"))))
(build-system chromium-binary-build-system)
(arguments
(list
@@ -62,6 +62,16 @@
("usr/share/" "/share"))
#:phases
#~(modify-phases %standard-phases
+ (add-after 'binary-unpack 'disable-auto-updates
+ (lambda _
+ (delete-file "opt/Anytype/resources/app-update.yml")))
+ ;; We don't need regedit, a node library to interact with Windows
+ ;; hosts.
+ (add-after 'binary-unpack 'strip-regedit
+ (lambda _
+ (delete-file-recursively
+ (string-append "opt/Anytype/resources/app.asar.unpacked/"
+ "node_modules/regedit"))))
(add-after 'binary-unpack 'strip-python
(lambda _
(delete-file