diff options
author | K900 <me@0upti.me> | 2023-03-18 01:39:35 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2023-04-20 11:53:35 +0300 |
commit | f5968d6601de86f822bb5af2ae44cba45a0e7d50 (patch) | |
tree | 5d0da9cbf2555cb7789f6d811a5f543f45cb3f0d /pkgs/applications/kde | |
parent | e98590cdf674079f44381d1e0fa7fc5c0e70cc4a (diff) |
ghostwriter: absorb into kde/gear
Diffstat (limited to 'pkgs/applications/kde')
-rw-r--r-- | pkgs/applications/kde/default.nix | 1 | ||||
-rw-r--r-- | pkgs/applications/kde/ghostwriter.nix | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/applications/kde/default.nix b/pkgs/applications/kde/default.nix index c121d0fb53998..fed0e84de7376 100644 --- a/pkgs/applications/kde/default.nix +++ b/pkgs/applications/kde/default.nix @@ -86,6 +86,7 @@ let falkon = callPackage ./falkon.nix {}; ffmpegthumbs = callPackage ./ffmpegthumbs.nix { }; filelight = callPackage ./filelight.nix {}; + ghostwriter = callPackage ./ghostwriter.nix {}; granatier = callPackage ./granatier.nix {}; grantleetheme = callPackage ./grantleetheme {}; gwenview = callPackage ./gwenview.nix {}; diff --git a/pkgs/applications/kde/ghostwriter.nix b/pkgs/applications/kde/ghostwriter.nix new file mode 100644 index 0000000000000..1fad4669dc627 --- /dev/null +++ b/pkgs/applications/kde/ghostwriter.nix @@ -0,0 +1,41 @@ +{ 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 ]; + }; +} |