2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, nix-update-script, pkg-config, meson, ninja, python3, vala
|
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";
|
2020-12-22 12:55:32 +00:00
|
|
|
version = "2.5.4";
|
2018-09-08 07:45:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "lainsce";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-12-22 12:55:32 +00:00
|
|
|
sha256 = "sha256-A8Ov0rITHuMLDYTueeDO89KtxlP0pNk1pA7O4x3Q9fE=";
|
2018-09-08 07:45:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
desktop-file-utils
|
|
|
|
meson
|
|
|
|
ninja
|
2019-10-10 02:47:37 +00:00
|
|
|
vala
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2018-09-08 07:45:57 +00:00
|
|
|
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
|
|
|
|
'';
|
|
|
|
|
2019-12-22 23:19:30 +00:00
|
|
|
passthru = {
|
2020-07-29 16:33:39 +00:00
|
|
|
updateScript = nix-update-script {
|
2019-12-22 23:19:30 +00:00
|
|
|
attrPath = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-09-08 07:45:57 +00:00
|
|
|
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 21:25:55 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2019-08-04 07:19:37 +00:00
|
|
|
maintainers = pantheon.maintainers;
|
2018-10-27 21:25:55 +00:00
|
|
|
platforms = platforms.linux;
|
2018-09-08 07:45:57 +00:00
|
|
|
};
|
|
|
|
}
|