2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, mkDerivation, fetchFromGitHub, qmake, pkg-config, qttools, qtwebengine, hunspell }:
|
2018-02-10 19:14:56 +01:00
|
|
|
|
2019-08-01 03:42:32 +02:00
|
|
|
mkDerivation rec {
|
2018-02-10 19:14:56 +01:00
|
|
|
pname = "ghostwriter";
|
2021-01-05 13:22:13 +01:00
|
|
|
version = "2.0.0-rc3";
|
2018-02-10 19:14:56 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wereturtle";
|
|
|
|
repo = pname;
|
2021-01-05 13:22:13 +01:00
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-Ag97iE++f3nG2zlwqn0qxSL9RpF8O3XWH9NtQ5kFuWg=";
|
2018-02-10 19:14:56 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ qmake pkg-config qttools ];
|
2018-02-10 19:14:56 +01:00
|
|
|
|
2019-04-29 17:44:05 +02:00
|
|
|
buildInputs = [ qtwebengine hunspell ];
|
2018-02-10 19:14:56 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-02-10 19:14:56 +01:00
|
|
|
description = "A cross-platform, aesthetic, distraction-free Markdown editor";
|
|
|
|
homepage = src.meta.homepage;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.unix;
|
2021-01-05 13:22:13 +01:00
|
|
|
maintainers = with maintainers; [ dotlambda erictapen ];
|
|
|
|
broken = stdenv.isDarwin;
|
2018-02-10 19:14:56 +01:00
|
|
|
};
|
|
|
|
}
|