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

27 lines
730 B
Nix
Raw Normal View History

{ lib, stdenv, mkDerivation, fetchFromGitHub, qmake, pkg-config, qttools, qtwebengine, hunspell }:
2018-02-10 19:14:56 +01:00
2019-08-01 03:42:32 +02:00
mkDerivation rec {
2018-02-10 19:14:56 +01:00
pname = "ghostwriter";
2021-03-24 12:00:16 +01:00
version = "2.0.0-rc5";
2018-02-10 19:14:56 +01:00
src = fetchFromGitHub {
owner = "wereturtle";
repo = pname;
rev = version;
2021-03-24 12:00:16 +01:00
sha256 = "sha256-Gc0/AHxxJd5Cq3dBQ0Xy2TF78CBmQFYUzm4s7q1aHEE=";
2018-02-10 19:14:56 +01:00
};
nativeBuildInputs = [ qmake pkg-config 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 lib; {
2018-02-10 19:14:56 +01:00
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 19:14:56 +01:00
};
}