2020-06-11 18:49:48 +01:00
|
|
|
{ lib
|
|
|
|
, python3
|
|
|
|
, fetchFromGitHub
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, gettext
|
|
|
|
, appstream
|
|
|
|
, appstream-glib
|
|
|
|
, wrapGAppsHook
|
2021-01-16 09:47:15 +00:00
|
|
|
, desktop-file-utils
|
2020-06-11 18:49:48 +01:00
|
|
|
, gobject-introspection
|
|
|
|
, gtksourceview4
|
|
|
|
, gspell
|
|
|
|
, poppler_gi
|
|
|
|
, webkitgtk
|
|
|
|
, librsvg
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "setzer";
|
2021-01-18 08:40:24 +00:00
|
|
|
version = "0.4.0";
|
2020-06-11 18:49:48 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cvfosammmm";
|
|
|
|
repo = "Setzer";
|
|
|
|
rev = "v${version}";
|
2021-01-18 08:40:24 +00:00
|
|
|
sha256 = "036xbg65h255zlvz9l86sw6w9l4qfyf13x8p8ml7dj52hcdfvyb9";
|
2020-06-11 18:49:48 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
format = "other";
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
gettext
|
|
|
|
appstream # for appstreamcli
|
|
|
|
appstream-glib
|
|
|
|
wrapGAppsHook
|
2021-01-16 09:47:15 +00:00
|
|
|
desktop-file-utils
|
2020-06-11 18:49:48 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gobject-introspection
|
|
|
|
gtksourceview4
|
|
|
|
gspell
|
|
|
|
poppler_gi
|
|
|
|
webkitgtk
|
|
|
|
librsvg
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
pygobject3
|
|
|
|
pyxdg
|
2021-01-18 08:40:24 +00:00
|
|
|
pdfminer
|
|
|
|
pycairo
|
2020-06-11 18:49:48 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "LaTeX editor written in Python with Gtk";
|
|
|
|
homepage = src.meta.homepage;
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
|
|
};
|
|
|
|
}
|