2019-04-29 16:44:05 +01:00
|
|
|
{ stdenv, fetchFromGitHub, qmake, pkgconfig, qttools, qtwebengine, hunspell }:
|
2018-02-10 18:14:56 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ghostwriter";
|
2019-04-29 16:44:05 +01:00
|
|
|
version = "1.8.0";
|
2018-02-10 18:14:56 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|