diff options
Diffstat (limited to 'pkgs/applications/office/qownnotes/default.nix')
-rw-r--r-- | pkgs/applications/office/qownnotes/default.nix | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/pkgs/applications/office/qownnotes/default.nix b/pkgs/applications/office/qownnotes/default.nix index 8003317fc2fb4..b0d03703aab34 100644 --- a/pkgs/applications/office/qownnotes/default.nix +++ b/pkgs/applications/office/qownnotes/default.nix @@ -1,14 +1,13 @@ { lib , stdenv , fetchurl -, qmake +, cmake , qttools , qtbase , qtdeclarative , qtsvg , qtwayland , qtwebsockets -, qt5compat , makeWrapper , wrapQtAppsHook , botan2 @@ -21,18 +20,18 @@ let pname = "qownnotes"; appname = "QOwnNotes"; - version = "24.7.0"; + version = "24.8.5"; in stdenv.mkDerivation { inherit pname version; src = fetchurl { url = "https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz"; - hash = "sha256-yDWm6d3kZwBEo0i7CSni4EOA4H+lAuYSzmANi/q7HxU="; + hash = "sha256-2aXKb9epApscoxt9I2oL6pl1jnGu6sbHTr9+pz6QJu4="; }; nativeBuildInputs = [ - qmake + cmake qttools wrapQtAppsHook pkg-config @@ -45,12 +44,12 @@ stdenv.mkDerivation { qtdeclarative qtsvg qtwebsockets - qt5compat botan2 ] ++ lib.optionals stdenv.isLinux [ qtwayland ]; - qmakeFlags = [ - "USE_SYSTEM_BOTAN=1" + cmakeFlags = [ + "-DQON_QT6_BUILD=ON" + "-DBUILD_WITH_SYSTEM_BOTAN=ON" ]; postInstall = '' |