2018-02-10 18:14:56 +00:00
|
|
|
{ stdenv, fetchFromGitHub, qmake, pkgconfig, qtwebkit, hunspell }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ghostwriter";
|
2018-07-31 07:43:19 +01:00
|
|
|
version = "1.7.2";
|
2018-02-10 18:14:56 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wereturtle";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2018-07-31 07:43:19 +01:00
|
|
|
sha256 = "1zhzibn4g79i98mjfqspf3iac2biz3r18jf29g0izq5snn7xj0fc";
|
2018-02-10 18:14:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ qmake pkgconfig ];
|
|
|
|
|
|
|
|
buildInputs = [ qtwebkit hunspell ];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|