Merge pull request #276606 from running-grass/update_anytype_3

anytype: 0.36.0 -> 0.37.0
This commit is contained in:
Nick Cao 2023-12-27 09:40:50 -05:00 committed by GitHub
commit 52a9e17b78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -2,13 +2,13 @@
let
pname = "anytype";
version = "0.36.0";
version = "0.37.0";
name = "Anytype-${version}";
nameExecutable = pname;
src = fetchurl {
url = "https://github.com/anyproto/anytype-ts/releases/download/v${version}/${name}.AppImage";
name = "Anytype-${version}.AppImage";
sha256 = "sha256-Efoqy/izULDgd2Dc3ktVZNj9/U0vCtENm0NLr5VKQpQ=";
sha256 = "sha256-Z46GTcJoaqvjVuxUP+OuxD32KM0NQISWMlv3uco5r6g=";
};
appimageContents = appimageTools.extractType2 { inherit name src; };
in
@ -26,8 +26,10 @@ appimageTools.wrapType2 {
install -m 444 -D ${appimageContents}/anytype.desktop -t $out/share/applications
substituteInPlace $out/share/applications/anytype.desktop \
--replace 'Exec=AppRun' 'Exec=${pname}'
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/0x0/apps/anytype.png \
$out/share/icons/hicolor/512x512/apps/anytype.png
for size in 16 32 64 128 256 512 1024; do
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/''${size}x''${size}/apps/anytype.png \
$out/share/icons/hicolor/''${size}x''${size}/apps/anytype.png
done
'';
meta = with lib; {

View file

@ -30454,8 +30454,6 @@ with pkgs;
anytone-emu = callPackage ../applications/radio/anytone-emu { };
anytype = callPackage ../applications/misc/anytype { };
ao = libfive;
apache-directory-studio = callPackage ../applications/networking/apache-directory-studio { };