focuswriter: 1.7.6 -> 1.8.5

This commit is contained in:
kashw2 2023-09-04 00:43:30 +10:00
parent 2c9e9de1fe
commit f94a5ef5fa
2 changed files with 21 additions and 9 deletions

View file

@ -1,18 +1,30 @@
{ lib, fetchurl, pkg-config, qmake, qttools, hunspell, qtbase, qtmultimedia, mkDerivation }:
{ lib
, stdenv
, fetchurl
, pkg-config
, cmake
, hunspell
, qtbase
, qtmultimedia
, qttools
, qt5compat
}:
mkDerivation rec {
stdenv.mkDerivation rec {
pname = "focuswriter";
version = "1.7.6";
version = "1.8.5";
src = fetchurl {
url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2";
sha256 = "0h85f6cs9zbxv118mjfxqfv41j19zkx2xq36mpnlmrlzkjj7dx9l";
url = "https://gottcode.org/focuswriter/focuswriter-${version}.tar.bz2";
sha256 = "sha256-O0GHzpA8Vap/rWiLF2j9zMyfAm2ko1Vk3KqZyyvudlQ=";
};
nativeBuildInputs = [ pkg-config qmake qttools ];
buildInputs = [ hunspell qtbase qtmultimedia ];
nativeBuildInputs = [ pkg-config cmake qttools ];
buildInputs = [ hunspell qtbase qtmultimedia qt5compat ];
# Causes an error during compilation if not set
dontWrapQtApps = true;
qmakeFlags = [ "PREFIX=/" ];
installFlags = [ "INSTALL_ROOT=$(out)" ];
meta = with lib; {

View file

@ -31724,7 +31724,7 @@ with pkgs;
focus-stack = callPackage ../applications/graphics/focus-stack { };
focuswriter = libsForQt5.callPackage ../applications/editors/focuswriter { };
focuswriter = qt6Packages.callPackage ../applications/editors/focuswriter { };
foliate = callPackage ../applications/office/foliate { };