Merge pull request #216869 from DarkOnion0/appflowy

This commit is contained in:
Sandro 2023-02-24 00:28:33 +01:00 committed by GitHub
commit 2d415debb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/