2019-08-01 03:42:32 +02:00
|
|
|
{ stdenv, mkDerivation, fetchFromGitHub, qmake, pkgconfig, 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";
|
2020-02-23 14:23:23 +01:00
|
|
|
version = "1.8.1";
|
2018-02-10 19:14:56 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wereturtle";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-02-23 14:23:23 +01:00
|
|
|
sha256 = "0jc6szfh5sdnafhwsr1xv7cn1fznniq58bix41hb9wlbkvq7wzi6";
|
2018-02-10 19:14:56 +01:00
|
|
|
};
|
|
|
|
|
2018-12-23 16:52:03 +01:00
|
|
|
nativeBuildInputs = [ qmake pkgconfig 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
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A cross-platform, aesthetic, distraction-free Markdown editor";
|
|
|
|
homepage = src.meta.homepage;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|