2024-02-29 20:09:43 +00:00
|
|
|
{
|
2024-09-19 14:19:46 +00:00
|
|
|
lib,
|
2024-02-29 20:09:43 +00:00
|
|
|
mkKdeDerivation,
|
|
|
|
qtsvg,
|
|
|
|
qttools,
|
|
|
|
qtwebchannel,
|
|
|
|
qtwebengine,
|
|
|
|
qt5compat,
|
|
|
|
pkg-config,
|
|
|
|
hunspell,
|
|
|
|
kdoctools,
|
2024-09-19 14:19:46 +00:00
|
|
|
pandoc,
|
|
|
|
multimarkdown,
|
|
|
|
cmark,
|
2024-02-29 20:09:43 +00:00
|
|
|
}:
|
|
|
|
mkKdeDerivation {
|
|
|
|
pname = "ghostwriter";
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
extraNativeBuildInputs = [ pkg-config ];
|
|
|
|
extraBuildInputs = [
|
|
|
|
qtsvg
|
|
|
|
qttools
|
|
|
|
qtwebchannel
|
|
|
|
qtwebengine
|
|
|
|
qt5compat
|
|
|
|
kdoctools
|
|
|
|
hunspell
|
|
|
|
];
|
|
|
|
|
|
|
|
qtWrapperArgs = [
|
|
|
|
"--prefix"
|
|
|
|
"PATH"
|
|
|
|
":"
|
|
|
|
(lib.makeBinPath [
|
|
|
|
cmark
|
|
|
|
multimarkdown
|
|
|
|
pandoc
|
|
|
|
])
|
|
|
|
];
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
meta.mainProgram = "ghostwriter";
|
2024-02-29 20:09:43 +00:00
|
|
|
}
|