1 { stdenv, lib, fetchgit, cmake, extra-cmake-modules, imagemagick, libsForQt5 }:
5 version = "unstable-2023-12-31";
8 url = "https://invent.kde.org/graphics/kxstitch.git";
9 rev = "4bb575dcb89e3c997e67409c8833e675962e101a";
10 hash = "sha256-pi+RpuT8YQYp1ogGtIgXpTPdYSFk19TUHTHDVyOcrMI=";
13 buildInputs = with libsForQt5; [
25 libsForQt5.wrapQtAppsHook
29 install -D $src/org.kde.kxstitch.desktop $out/share/applications/org.kde.kxstitch.desktop
31 for size in 16 22 32 48 64 128 256; do
32 install -D $src/icons/app/$size-apps-kxstitch.png $out/share/icons/hicolor/$size\x$size/kxstitch.png
37 homepage = "https://invent.kde.org/graphics/kxstitch";
38 description = "Cross stitch pattern and chart creation";
39 maintainers = with lib.maintainers; [ eliandoran ];
40 license = lib.licenses.gpl2Plus;
41 platforms = lib.platforms.linux;
42 mainProgram = "kxstitch";