14 stdenv.mkDerivation rec {
19 url = "https://github.com/AppFlowy-IO/appflowy/releases/download/${version}/AppFlowy-${version}-linux-x86_64.tar.gz";
20 hash = "sha256-gIM4CQvPkQIWvHXYPwr4yiDY1mUuOmubdqkOmHNssVo=";
47 # Copy archive contents to the outpout directory
51 install -Dm444 data/flutter_assets/assets/images/flowy_logo.svg $out/share/icons/hicolor/scalable/apps/appflowy.svg
57 # Add missing libraries to appflowy using the ones it comes with
58 makeWrapper $out/opt/AppFlowy $out/bin/appflowy \
59 --set LD_LIBRARY_PATH "$out/opt/lib/" \
60 --prefix PATH : "${lib.makeBinPath [ xdg-user-dirs ]}"
66 desktopName = "AppFlowy";
67 comment = meta.description;
70 categories = [ "Office" ];
75 description = "An open-source alternative to Notion";
76 homepage = "https://www.appflowy.io/";
77 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
78 license = licenses.agpl3Only;
79 changelog = "https://github.com/AppFlowy-IO/appflowy/releases/tag/${version}";
80 maintainers = with maintainers; [ darkonion0 ];
81 platforms = [ "x86_64-linux" ];
82 mainProgram = "appflowy";