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

27 lines
730 B
Nix
Raw Normal View History

2019-08-01 01:42:32 +00:00
{ stdenv, mkDerivation, fetchFromGitHub, qmake, pkgconfig, qttools, qtwebengine, hunspell }:
2018-02-10 18:14:56 +00:00
2019-08-01 01:42:32 +00:00
mkDerivation rec {
2018-02-10 18:14:56 +00:00
pname = "ghostwriter";
version = "2.0.0-rc3";
2018-02-10 18:14:56 +00:00
src = fetchFromGitHub {
owner = "wereturtle";
repo = pname;
rev = version;
sha256 = "sha256-Ag97iE++f3nG2zlwqn0qxSL9RpF8O3XWH9NtQ5kFuWg=";
2018-02-10 18:14:56 +00:00
};
nativeBuildInputs = [ qmake pkgconfig qttools ];
2018-02-10 18:14:56 +00:00
2019-04-29 15:44:05 +00:00
buildInputs = [ qtwebengine hunspell ];
2018-02-10 18:14:56 +00: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 erictapen ];
broken = stdenv.isDarwin;
2018-02-10 18:14:56 +00:00
};
}