nixpkgs/pkgs/applications/editors/ghostwriter/default.nix

27 lines
695 B
Nix
Raw Normal View History

2018-02-10 19:14:56 +01:00
{ stdenv, fetchFromGitHub, qmake, pkgconfig, qtwebkit, hunspell }:
stdenv.mkDerivation rec {
pname = "ghostwriter";
2018-07-10 14:48:36 +02:00
version = "1.7.0";
2018-02-10 19:14:56 +01:00
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "wereturtle";
repo = pname;
rev = "v${version}";
2018-07-10 14:48:36 +02:00
sha256 = "00nlk5gazlfnndanhhjj5hlvkkp9yfx5mj6jq0jz37mk8mn6rzln";
2018-02-10 19:14:56 +01: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 ];
};
}