Skip to content

Commit

Permalink
kitsas: 4.0.5 -> 5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
itepastra committed Oct 8, 2024
1 parent 2d11924 commit c352101
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
24 changes: 15 additions & 9 deletions pkgs/applications/office/kitsas/default.nix
Original file line number Diff line number Diff line change
@@ -1,24 +1,30 @@
{ lib, stdenv, fetchFromGitHub, qmake, qtsvg, poppler, libzip, pkg-config, wrapQtAppsHook }:
{ lib
, stdenv
, fetchFromGitHub
, qmake
, qtsvg
, qtwebengine
, qt5compat
, poppler
, libzip
, pkg-config
, wrapQtAppsHook
}:

stdenv.mkDerivation rec {
pname = "kitsas";
version = "4.0.5";
version = "5.7";

src = fetchFromGitHub {
owner = "artoh";
repo = "kitupiikki";
rev = "v${version}";
hash = "sha256-ODl1yrtrCVhuBWbA1AvHl22d+JSdySG/Gi2hlpVW3jg=";
hash = "sha256-1TZFw1Q9+FsGHwitErDhwyA941rtb+h9OgJLFLyhV7k=";
};

postPatch = ''
substituteInPlace kitsas/kitsas.pro \
--replace "LIBS += -L/usr/local/opt/poppler-qt5/lib -lpoppler-qt6" "LIBS += -lpoppler-qt5"
'';

nativeBuildInputs = [ pkg-config qmake wrapQtAppsHook ];

buildInputs = [ qtsvg poppler libzip ];
buildInputs = [ qtsvg poppler qtwebengine qt5compat libzip ];

# We use a separate build-dir as otherwise ld seems to get confused between
# directory and executable name on buildPhase.
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30492,7 +30492,7 @@ with pkgs;

kile = callPackage ../applications/editors/kile { };

kitsas = libsForQt5.callPackage ../applications/office/kitsas { };
kitsas = qt6Packages.callPackage ../applications/office/kitsas { };

kiwitalk = callPackage ../by-name/ki/kiwitalk/package.nix { pnpm = pnpm_8; };

Expand Down

0 comments on commit c352101

Please sign in to comment.