c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
41 lines
814 B
Nix
41 lines
814 B
Nix
{ lib
|
|
, mkDerivation
|
|
, extra-cmake-modules
|
|
, qttools
|
|
, qtwebengine
|
|
, kcoreaddons
|
|
, kconfigwidgets
|
|
, sonnet
|
|
, kxmlgui
|
|
, hunspell
|
|
, cmark
|
|
, multimarkdown
|
|
, pandoc
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "ghostwriter";
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules qttools ];
|
|
|
|
buildInputs = [
|
|
qtwebengine
|
|
hunspell
|
|
kcoreaddons
|
|
kconfigwidgets
|
|
sonnet
|
|
kxmlgui
|
|
];
|
|
|
|
qtWrapperArgs = [
|
|
"--prefix" "PATH" ":" (lib.makeBinPath [ cmark multimarkdown pandoc ])
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A cross-platform, aesthetic, distraction-free Markdown editor";
|
|
homepage = "https://ghostwriter.kde.org/";
|
|
changelog = "https://invent.kde.org/office/ghostwriter/-/blob/master/CHANGELOG.md";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ dotlambda erictapen ];
|
|
};
|
|
}
|