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-04-16 07:57:12 +02:00
version = "1.6.2";
2018-02-10 19:14:56 +01:00
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "wereturtle";
repo = pname;
rev = "v${version}";
2018-04-16 07:57:12 +02:00
sha256 = "0251563zy0q69fzfacvalpx43y15cshb0bhshyd4w37061gh1c12";
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 ];
};
}