ghostwriter: add run-time dependencies to PATH

launchpad/nixpkgs/master
Robert Schütz 3 years ago committed by erictapen
parent 22ea812bff
commit 4ba70da807
  1. 18
      pkgs/applications/editors/ghostwriter/default.nix

@ -1,4 +1,16 @@
{ lib, stdenv, mkDerivation, fetchFromGitHub, qmake, pkg-config, qttools, qtwebengine, hunspell }:
{ lib
, stdenv
, mkDerivation
, fetchFromGitHub
, qmake
, pkg-config
, qttools
, qtwebengine
, hunspell
, cmark
, multimarkdown
, pandoc
}:
mkDerivation rec {
pname = "ghostwriter";
@ -15,6 +27,10 @@ mkDerivation rec {
buildInputs = [ qtwebengine hunspell ];
qtWrapperArgs = [
"--prefix" "PATH" ":" (lib.makeBinPath [ cmark multimarkdown pandoc ])
];
meta = with lib; {
description = "A cross-platform, aesthetic, distraction-free Markdown editor";
homepage = src.meta.homepage;

Loading…
Cancel
Save