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

27 lines
712 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, qmake, pkgconfig, qttools, qtwebkit, hunspell }:
2018-02-10 18:14:56 +00:00
stdenv.mkDerivation rec {
pname = "ghostwriter";
2018-12-11 15:13:53 +00:00
version = "1.7.4";
2018-02-10 18:14:56 +00:00
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "wereturtle";
repo = pname;
rev = "v${version}";
2018-12-11 15:13:53 +00:00
sha256 = "1pqlr08z5syqcq5p282asxwzrrm7c1w94baxyb467swh8yp3fj5m";
2018-02-10 18:14:56 +00:00
};
nativeBuildInputs = [ qmake pkgconfig qttools ];
2018-02-10 18:14:56 +00:00
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 ];
};
}