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

27 lines
731 B
Nix
Raw Normal View History

{ lib, stdenv, mkDerivation, fetchFromGitHub, qmake, pkg-config, 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";
2021-02-03 13:25:00 +00:00
version = "2.0.0-rc4";
2018-02-10 18:14:56 +00:00
src = fetchFromGitHub {
owner = "wereturtle";
repo = pname;
rev = version;
2021-02-03 13:25:00 +00:00
sha256 = "07547503a209hc0fcg902w3x0s1m899c10nj3gqz3hak0cmrasi3";
2018-02-10 18:14:56 +00:00
};
nativeBuildInputs = [ qmake pkg-config 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 lib; {
2018-02-10 18:14:56 +00: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 18:14:56 +00:00
};
}