2019-08-01 02:42:32 +01:00
|
|
|
{ stdenv, mkDerivation, fetchFromGitHub, qmake, pkgconfig, qttools, qtwebengine, hunspell }:
|
2018-02-10 18:14:56 +00:00
|
|
|
|
2019-08-01 02:42:32 +01:00
|
|
|
mkDerivation rec {
|
2018-02-10 18:14:56 +00:00
|
|
|
pname = "ghostwriter";
|
2019-04-29 16:44:05 +01:00
|
|
|
version = "1.8.0";
|
2018-02-10 18:14:56 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wereturtle";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-04-29 16:44:05 +01:00
|
|
|
sha256 = "13yn82m1l2pq93wbl569a2lzpc3sn8a8g30hsgdch1l9xlmhwran";
|
2018-02-10 18:14:56 +00:00
|
|
|
};
|
|
|
|
|
2018-12-23 15:52:03 +00:00
|
|
|
nativeBuildInputs = [ qmake pkgconfig qttools ];
|
2018-02-10 18:14:56 +00:00
|
|
|
|
2019-04-29 16:44:05 +01:00
|
|
|
buildInputs = [ qtwebengine hunspell ];
|
2018-02-10 18:14:56 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|