nixpkgs/pkgs/applications/editors/setzer/default.nix

64 lines
1.0 KiB
Nix
Raw Normal View History

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