diff options
author | Robert Schütz <dev@schuetz-co.de> | 2020-06-11 19:49:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-11 19:49:48 +0200 |
commit | 45f21f7c8433f3e2b237c86e105fc81d00cfe56b (patch) | |
tree | ee0d0ce6b24279e4c549bee7e0e30e621d311919 /pkgs/applications | |
parent | 2e264a89089f24c86cd544dd6befa422aed26c15 (diff) |
setzer: init at 0.2.8 (#90047)
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/editors/setzer/default.nix | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/pkgs/applications/editors/setzer/default.nix b/pkgs/applications/editors/setzer/default.nix new file mode 100644 index 0000000000000..5a0ef754db16f --- /dev/null +++ b/pkgs/applications/editors/setzer/default.nix @@ -0,0 +1,60 @@ +{ lib +, python3 +, fetchFromGitHub +, meson +, ninja +, gettext +, appstream +, appstream-glib +, wrapGAppsHook +, gobject-introspection +, gtksourceview4 +, gspell +, poppler_gi +, webkitgtk +, librsvg +}: + +python3.pkgs.buildPythonApplication rec { + pname = "setzer"; + version = "0.2.8"; + + src = fetchFromGitHub { + owner = "cvfosammmm"; + repo = "Setzer"; + rev = "v${version}"; + sha256 = "1llxxjj038nd2p857bjdyyhzskn56826qi259v47vaqlv9hkifil"; + }; + + format = "other"; + + nativeBuildInputs = [ + meson + ninja + gettext + appstream # for appstreamcli + appstream-glib + wrapGAppsHook + ]; + + buildInputs = [ + gobject-introspection + gtksourceview4 + gspell + poppler_gi + webkitgtk + librsvg + ]; + + propagatedBuildInputs = with python3.pkgs; [ + pygobject3 + pyxdg + ]; + + meta = with lib; { + description = "LaTeX editor written in Python with Gtk"; + homepage = src.meta.homepage; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ dotlambda ]; + }; +} |