From ae314a6eaa8c07e728083eec066f1685decd2a91 Mon Sep 17 00:00:00 2001 From: Giacomo Leidi Date: Wed, 31 Jan 2024 17:55:06 +0100 Subject: [PATCH] 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 Co-authored-by: John Kehayias --- nongnu/packages/productivity.scm | 11 ++++++++--- 1 file 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 @@ (define-public anytype (package (name "anytype") - (version "0.37.3") + (version "0.38") (source (origin (method url-fetch) (uri (string-append "https://download.anytype.io?action=download" - "&key=desktop&id=142685264")) + "&key=desktop&id=148487107")) (file-name (string-append "anytype-" version ".deb")) (sha256 (base32 - "197v4dsn21yfi9dhcrqdznz3vfzicd79fc4abbpifacgb4fxcxq8")))) + "1xc57ppk3l16mq2a53scf79m8hx43x21kac96ws66awlkz14swc7")))) (build-system chromium-binary-build-system) (arguments (list @@ -58,6 +58,11 @@ ("usr/share/" "/share")) #:phases #~(modify-phases %standard-phases + (add-after 'binary-unpack 'strip-python + (lambda _ + (delete-file + (string-append "opt/Anytype/resources/app.asar.unpacked/" + "node_modules/keytar/build/node_gyp_bins/python3")))) (add-before 'install 'patch-assets (lambda _ (let* ((bin (string-append #$output "/bin"))