1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 11:32:03 +00:00
nixpkgs/pkgs/applications/editors/ghostwriter/default.nix

26 lines
693 B
Nix
Raw Normal View History

2019-08-01 02:42:32 +01:00
{ stdenv, mkDerivation, fetchFromGitHub, qmake, pkgconfig, qttools, qtwebengine, hunspell }:
2018-02-10 18:14:56 +00:00
2019-08-01 02:42:32 +01:00
mkDerivation rec {
2018-02-10 18:14:56 +00:00
pname = "ghostwriter";
2020-02-23 13:23:23 +00:00
version = "1.8.1";
2018-02-10 18:14:56 +00:00
src = fetchFromGitHub {
owner = "wereturtle";
repo = pname;
rev = "v${version}";
2020-02-23 13:23:23 +00:00
sha256 = "0jc6szfh5sdnafhwsr1xv7cn1fznniq58bix41hb9wlbkvq7wzi6";
2018-02-10 18:14:56 +00:00
};
nativeBuildInputs = [ qmake pkgconfig qttools ];
2018-02-10 18:14:56 +00:00
2019-04-29 16:44:05 +01: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 ];
};
}