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

27 lines
718 B
Nix
Raw Normal View History

2019-04-29 17:44:05 +02:00
{ stdenv, fetchFromGitHub, qmake, pkgconfig, qttools, qtwebengine, hunspell }:
2018-02-10 19:14:56 +01:00
stdenv.mkDerivation rec {
pname = "ghostwriter";
2019-04-29 17:44:05 +02:00
version = "1.8.0";
2018-02-10 19:14:56 +01:00
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "wereturtle";
repo = pname;
rev = "v${version}";
2019-04-29 17:44:05 +02:00
sha256 = "13yn82m1l2pq93wbl569a2lzpc3sn8a8g30hsgdch1l9xlmhwran";
2018-02-10 19:14:56 +01:00
};
nativeBuildInputs = [ qmake pkgconfig qttools ];
2018-02-10 19:14:56 +01:00
2019-04-29 17:44:05 +02:00
buildInputs = [ qtwebengine hunspell ];
2018-02-10 19:14:56 +01: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 ];
};
}