{ lib, appimageTools, fetchurl, }: let version = "6.0.3"; in appimageTools.wrapType2 { pname = "loop"; inherit version; src = fetchurl { url = "https://artifacts.wilix.dev/repository/loop-files/loop-${version}/loop-desktop-${version}-linux-x86_64.AppImage"; hash = "sha256-zGWKlY6XwuL0e2mDpB/1t0UnW73bhCPcg6XkBJBCEFY="; }; extraPkgs = pkgsWith: [ pkgsWith.gtk3 pkgsWith.glib ]; passthru = { category = "Communication"; updateScript = [ "nix-update" "--flake" ".#loop" ]; }; meta = with lib; { description = "Corporate messenger for your team"; homepage = "https://loop.ru"; license = licenses.unfree; maintainers = with maintainers; [ ]; platforms = [ "x86_64-linux" ]; mainProgram = "loop"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; }; }