nixpkgs/pkgs/applications/kde/ghostwriter.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

42 lines
845 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 = "Cross-platform, aesthetic, distraction-free Markdown editor";
mainProgram = "ghostwriter";
homepage = "https://ghostwriter.kde.org/";
changelog = "https://invent.kde.org/office/ghostwriter/-/blob/master/CHANGELOG.md";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dotlambda erictapen ];
};
}