about summary refs log tree commit diff
path: root/pkgs/applications/office
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2023-02-24 00:28:33 +0100
committerGitHub <noreply@github.com>2023-02-24 00:28:33 +0100
commit2d415debb770f5c47c611c0908a85288e7b7f7bb (patch)
tree3bc3ff90f4b529e298491eb89da2a31f0f087c16 /pkgs/applications/office
parentbfff7eab5c983a3827e9b0944a00cb394fcfe844 (diff)
parentaf9f449fc19fe3dc2a4832032c9414c5e2fc478d (diff)
Merge pull request #216869 from DarkOnion0/appflowy
Diffstat (limited to 'pkgs/applications/office')
-rw-r--r--pkgs/applications/office/appflowy/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/applications/office/appflowy/default.nix b/pkgs/applications/office/appflowy/default.nix
index d0b71ee92cf89..e8910d9509294 100644
--- a/pkgs/applications/office/appflowy/default.nix
+++ b/pkgs/applications/office/appflowy/default.nix
@@ -6,18 +6,19 @@
 , copyDesktopItems
 , makeDesktopItem
 , gtk3
-, openssl
+, openssl_1_1
 , xdg-user-dirs
 , keybinder3
 }:
 
 stdenv.mkDerivation rec {
   pname = "appflowy";
-  version = "0.0.9";
+  version = "0.1.0";
 
   src = fetchzip {
-    url = "https://github.com/AppFlowy-IO/appflowy/releases/download/${version}/AppFlowy-linux-x86.tar.gz";
-    sha256 = "sha256-E75ZqenCs5zWBERYoIrWc2v5CyjGKLrfsae1RCi/qNQ=";
+    url = "https://github.com/AppFlowy-IO/appflowy/releases/download/${version}/AppFlowy_x86_64-unknown-linux-gnu_ubuntu-20.04.tar.gz";
+    sha256 = "sha256-WuEwhJ1YhbldFfisfUsp3GCV2vQy9oTam6BkL/7QEgI=";
+    stripRoot = false;
   };
 
   nativeBuildInputs = [
@@ -28,7 +29,7 @@ stdenv.mkDerivation rec {
 
   buildInputs = [
     gtk3
-    openssl
+    openssl_1_1
     keybinder3
   ];
 
@@ -38,6 +39,8 @@ stdenv.mkDerivation rec {
   installPhase = ''
     runHook preInstall
 
+    mv AppFlowy/* ./
+
     mkdir -p $out/opt/
     mkdir -p $out/bin/