2019-10-10 04:47:37 +02:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, meson, ninja, python3, vala
|
2018-08-20 22:31:18 +02:00
|
|
|
, gtk3, desktop-file-utils, gtksourceview, webkitgtk, gtkspell3, pantheon
|
2019-02-22 01:13:27 +01:00
|
|
|
, libgee, discount, wrapGAppsHook }:
|
2018-09-08 09:45:57 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "quilter";
|
2020-02-06 15:10:42 +01:00
|
|
|
version = "2.1.0";
|
2018-09-08 09:45:57 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lainsce";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-02-06 15:10:42 +01:00
|
|
|
sha256 = "1756gp3f2pmxz2k4xg4cfdbdav848qb0vjglyiy1n2k9xc79dyxz";
|
2018-09-08 09:45:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
2019-10-10 04:47:37 +02:00
|
|
|
vala
|
2018-09-08 09:45:57 +02:00
|
|
|
pkgconfig
|
|
|
|
python3
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
discount
|
|
|
|
gtk3
|
|
|
|
gtksourceview
|
|
|
|
gtkspell3
|
2019-02-22 01:13:27 +01:00
|
|
|
libgee
|
|
|
|
pantheon.elementary-icon-theme
|
|
|
|
pantheon.granite
|
2018-09-08 09:45:57 +02:00
|
|
|
webkitgtk
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
2019-12-23 00:19:30 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = pantheon.updateScript {
|
|
|
|
attrPath = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-09-08 09:45:57 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Focus on your writing - designed for elementary OS";
|
2018-10-27 23:25:55 +02:00
|
|
|
homepage = https://github.com/lainsce/quilter;
|
|
|
|
license = licenses.gpl2Plus;
|
2019-08-04 09:19:37 +02:00
|
|
|
maintainers = pantheon.maintainers;
|
2018-10-27 23:25:55 +02:00
|
|
|
platforms = platforms.linux;
|
2018-09-08 09:45:57 +02:00
|
|
|
};
|
|
|
|
}
|