2020-07-29 17:33:39 +01:00
|
|
|
{ stdenv, fetchFromGitHub, nix-update-script, pkgconfig, meson, ninja, python3, vala
|
2018-08-20 21:31:18 +01:00
|
|
|
, gtk3, desktop-file-utils, gtksourceview, webkitgtk, gtkspell3, pantheon
|
2019-02-22 00:13:27 +00:00
|
|
|
, libgee, discount, wrapGAppsHook }:
|
2018-09-08 08:45:57 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "quilter";
|
2020-07-24 09:11:27 +01:00
|
|
|
version = "2.5.0";
|
2018-09-08 08:45:57 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lainsce";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-07-24 09:11:27 +01:00
|
|
|
sha256 = "0622mh46z3fi6zvipmgj8k4d4gj1c2781l10frk7wqq1sysjrxps";
|
2018-09-08 08:45:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
2019-10-10 03:47:37 +01:00
|
|
|
vala
|
2018-09-08 08:45:57 +01: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 08:45:57 +01:00
|
|
|
webkitgtk
|
|
|
|
];
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
chmod +x meson/post_install.py
|
|
|
|
patchShebangs meson/post_install.py
|
|
|
|
'';
|
|
|
|
|
2019-12-22 23:19:30 +00:00
|
|
|
passthru = {
|
2020-07-29 17:33:39 +01:00
|
|
|
updateScript = nix-update-script {
|
2019-12-22 23:19:30 +00:00
|
|
|
attrPath = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-09-08 08:45:57 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Focus on your writing - designed for elementary OS";
|
2020-03-08 00:24:58 +00:00
|
|
|
homepage = "https://github.com/lainsce/quilter";
|
2018-10-27 22:25:55 +01:00
|
|
|
license = licenses.gpl2Plus;
|
2019-08-04 08:19:37 +01:00
|
|
|
maintainers = pantheon.maintainers;
|
2018-10-27 22:25:55 +01:00
|
|
|
platforms = platforms.linux;
|
2018-09-08 08:45:57 +01:00
|
|
|
};
|
|
|
|
}
|