2022-12-25T02:18:03 appflowy 0.0.8.1 -> 0.0.9 https://repology.org/metapackage/appflowy/versions 2022-12-25T02:18:06 attrpath: appflowy 2022-12-25T02:18:06 Checking auto update branch... 2022-12-25T02:18:06 No auto update branch exists 2022-12-25T02:18:07 Old version 0.0.8.1" not present in master derivation file with contents: { stdenv , lib , fetchzip , autoPatchelfHook , makeWrapper , copyDesktopItems , makeDesktopItem , gtk3 , openssl , xdg-user-dirs , keybinder3 }: stdenv.mkDerivation rec { pname = "appflowy"; version = "0.0.9"; src = fetchzip { url = "https://github.com/AppFlowy-IO/appflowy/releases/download/${version}/AppFlowy-linux-x86.tar.gz"; sha256 = "sha256-E75ZqenCs5zWBERYoIrWc2v5CyjGKLrfsae1RCi/qNQ="; }; nativeBuildInputs = [ autoPatchelfHook makeWrapper copyDesktopItems ]; buildInputs = [ gtk3 openssl keybinder3 ]; dontBuild = true; dontConfigure = true; installPhase = '' runHook preInstall mkdir -p $out/opt/ mkdir -p $out/bin/ # Copy archive contents to the outpout directory cp -r ./* $out/opt/ runHook postInstall ''; preFixup = '' # Add missing libraries to appflowy using the ones it comes with makeWrapper $out/opt/app_flowy $out/bin/appflowy \ --set LD_LIBRARY_PATH "$out/opt/lib/" \ --prefix PATH : "${lib.makeBinPath [ xdg-user-dirs ]}" ''; desktopItems = [ (makeDesktopItem { name = pname; desktopName = "AppFlowy"; comment = meta.description; exec = "appflowy"; categories = [ "Office" ]; }) ]; meta = with lib; { description = "An open-source alternative to Notion"; homepage = "https://www.appflowy.io/"; sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.agpl3Only; changelog = "https://github.com/AppFlowy-IO/appflowy/releases/tag/${version}"; maintainers = with maintainers; [ darkonion0 ]; platforms = [ "x86_64-linux" ]; }; }