2019-06-16 19:59:06 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, meson, ninja, python3
|
2018-08-20 20:31:18 +00:00
|
|
|
, gtk3, desktop-file-utils, gtksourceview, webkitgtk, gtkspell3, pantheon
|
2019-02-22 00:13:27 +00:00
|
|
|
, libgee, discount, wrapGAppsHook }:
|
2018-09-08 07:45:57 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "quilter";
|
2019-06-11 04:54:36 +00:00
|
|
|
version = "1.9.1";
|
2018-09-08 07:45:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lainsce";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2019-06-11 04:54:36 +00:00
|
|
|
sha256 = "1sjk8n0y9039xs47zw9a4l4vd36vkm30gf6x3fzaib81hnh1fx7v";
|
2018-09-08 07:45:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
2019-02-22 00:13:27 +00:00
|
|
|
pantheon.vala
|
2018-09-08 07:45:57 +00:00
|
|
|
pkgconfig
|
|
|
|
python3
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
discount
|
|
|
|
gtk3
|
|
|
|
gtksourceview
|
|
|
|
gtkspell3
|
2019-02-22 00:13:27 +00:00
|
|
|
libgee
|
|
|
|
pantheon.elementary-icon-theme
|
|
|
|
pantheon.granite
|
2018-09-08 07:45:57 +00:00
|
|
|
webkitgtk
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Focus on your writing - designed for elementary OS";
|
2018-10-27 21:25:55 +00:00
|
|
|
homepage = https://github.com/lainsce/quilter;
|
|
|
|
license = licenses.gpl2Plus;
|
2018-09-08 07:45:57 +00:00
|
|
|
maintainers = with maintainers; [ worldofpeace ];
|
2018-10-27 21:25:55 +00:00
|
|
|
platforms = platforms.linux;
|
2018-09-08 07:45:57 +00:00
|
|
|
};
|
|
|
|
}
|