appflowy: 0.0.6.2 -> 0.0.8

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
DarkOnion0
2022-12-06 08:55:16 +01:00
co-authored by Sandro
parent 291315ced9
commit ebbe399267
2 changed files with 23 additions and 29 deletions
+22 -26
View File
@@ -1,35 +1,35 @@
{ stdenv,
lib,
fetchzip,
autoPatchelfHook,
makeWrapper,
copyDesktopItems,
makeDesktopItem,
gtk3,
openssl,
xdg-user-dirs,
keybinder3
{ stdenv
, lib
, fetchzip
, autoPatchelfHook
, makeWrapper
, copyDesktopItems
, makeDesktopItem
, gtk3
, openssl
, xdg-user-dirs
, keybinder3
}:
stdenv.mkDerivation rec {
pname = "appflowy";
version = "0.0.6.2";
version = "0.0.8";
src = fetchzip {
url = "https://github.com/AppFlowy-IO/appflowy/releases/download/${version}/AppFlowy-linux-x86.tar.gz";
sha256 = "sha256-LOrXGFctAaiz2z9M8ghrXsQ+qygwNPyYragmL/EjlDQ=";
sha256 = "sha256-+nizRA42c0ZzuN8D/puh0TFLnRJVgyAujcTmJZ1UVzo=";
};
nativeBuildInputs = [
autoPatchelfHook
makeWrapper
copyDesktopItems
autoPatchelfHook
makeWrapper
copyDesktopItems
];
buildInputs = [
gtk3
openssl
keybinder3
gtk3
openssl
keybinder3
];
dontBuild = true;
@@ -47,15 +47,11 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
preFixup = let
binPath = lib.makeBinPath [
xdg-user-dirs
];
in ''
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 : "${binPath}"
--set LD_LIBRARY_PATH "$out/opt/lib/" \
--prefix PATH : "${lib.makeBinPath [ xdg-user-dirs ]}"
'';
desktopItems = [
+1 -3
View File
@@ -185,9 +185,7 @@ with pkgs;
meta.platforms = lib.platforms.linux;
} ../build-support/setup-hooks/auto-patchelf.sh;
appflowy = callPackage ../applications/office/appflowy {
openssl = openssl_1_1;
};
appflowy = callPackage ../applications/office/appflowy { };
appimageTools = callPackage ../build-support/appimage {
buildFHSUserEnv = buildFHSUserEnvBubblewrap;