@@ -0,0 +1,60 @@
1+{ lib
2+, python3
3+, fetchFromGitHub
4+, meson
5+, ninja
6+, gettext
7+, appstream
8+, appstream-glib
9+, wrapGAppsHook
10+, gobject-introspection
11+, gtksourceview4
12+, gspell
13+, poppler_gi
14+, webkitgtk
15+, librsvg
16+}:
17+
18+python3.pkgs.buildPythonApplication rec {
19+ pname = "setzer";
20+ version = "0.2.8";
21+
22+ src = fetchFromGitHub {
23+ owner = "cvfosammmm";
24+ repo = "Setzer";
25+ rev = "v${version}";
26+ sha256 = "1llxxjj038nd2p857bjdyyhzskn56826qi259v47vaqlv9hkifil";
27+ };
28+
29+ format = "other";
30+
31+ nativeBuildInputs = [
32+ meson
33+ ninja
34+ gettext
35+ appstream # for appstreamcli
36+ appstream-glib
37+ wrapGAppsHook
38+ ];
39+
40+ buildInputs = [
41+ gobject-introspection
42+ gtksourceview4
43+ gspell
44+ poppler_gi
45+ webkitgtk
46+ librsvg
47+ ];
48+
49+ propagatedBuildInputs = with python3.pkgs; [
50+ pygobject3
51+ pyxdg
52+ ];
53+
54+ meta = with lib; {
55+ description = "LaTeX editor written in Python with Gtk";
56+ homepage = src.meta.homepage;
57+ license = licenses.gpl3Plus;
58+ maintainers = with maintainers; [ dotlambda ];
59+ };
60+}