Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
42 lines
555 B
Nix
42 lines
555 B
Nix
{
|
|
lib,
|
|
mkKdeDerivation,
|
|
qtsvg,
|
|
qttools,
|
|
qtwebchannel,
|
|
qtwebengine,
|
|
qt5compat,
|
|
pkg-config,
|
|
hunspell,
|
|
kdoctools,
|
|
pandoc,
|
|
multimarkdown,
|
|
cmark,
|
|
}:
|
|
mkKdeDerivation {
|
|
pname = "ghostwriter";
|
|
|
|
extraNativeBuildInputs = [ pkg-config ];
|
|
extraBuildInputs = [
|
|
qtsvg
|
|
qttools
|
|
qtwebchannel
|
|
qtwebengine
|
|
qt5compat
|
|
kdoctools
|
|
hunspell
|
|
];
|
|
|
|
qtWrapperArgs = [
|
|
"--prefix"
|
|
"PATH"
|
|
":"
|
|
(lib.makeBinPath [
|
|
cmark
|
|
multimarkdown
|
|
pandoc
|
|
])
|
|
];
|
|
|
|
meta.mainProgram = "ghostwriter";
|
|
}
|