lol
1{ lib
2, mkDerivation
3, extra-cmake-modules
4, qttools
5, qtwebengine
6, kcoreaddons
7, kconfigwidgets
8, sonnet
9, kxmlgui
10, hunspell
11, cmark
12, multimarkdown
13, pandoc
14}:
15
16mkDerivation {
17 pname = "ghostwriter";
18
19 nativeBuildInputs = [ extra-cmake-modules qttools ];
20
21 buildInputs = [
22 qtwebengine
23 hunspell
24 kcoreaddons
25 kconfigwidgets
26 sonnet
27 kxmlgui
28 ];
29
30 qtWrapperArgs = [
31 "--prefix" "PATH" ":" (lib.makeBinPath [ cmark multimarkdown pandoc ])
32 ];
33
34 meta = with lib; {
35 description = "A cross-platform, aesthetic, distraction-free Markdown editor";
36 mainProgram = "ghostwriter";
37 homepage = "https://ghostwriter.kde.org/";
38 changelog = "https://invent.kde.org/office/ghostwriter/-/blob/master/CHANGELOG.md";
39 license = licenses.gpl3Plus;
40 maintainers = with maintainers; [ dotlambda erictapen ];
41 };
42}