2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, mkDerivation, fetchFromGitHub, qmake, pkgconfig, qttools, qtwebengine, hunspell }:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "ghostwriter";
|
2021-01-09 10:05:03 +00:00
|
|
|
version = "2.0.0-rc3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wereturtle";
|
|
|
|
repo = pname;
|
2021-01-09 10:05:03 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-Ag97iE++f3nG2zlwqn0qxSL9RpF8O3XWH9NtQ5kFuWg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake pkgconfig qttools ];
|
|
|
|
|
|
|
|
buildInputs = [ qtwebengine hunspell ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A cross-platform, aesthetic, distraction-free Markdown editor";
|
|
|
|
homepage = src.meta.homepage;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.unix;
|
2021-01-09 10:05:03 +00:00
|
|
|
maintainers = with maintainers; [ dotlambda erictapen ];
|
|
|
|
broken = stdenv.isDarwin;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|