c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
71 lines
1.2 KiB
Nix
71 lines
1.2 KiB
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
, gettext
|
|
, appstream
|
|
, appstream-glib
|
|
, wrapGAppsHook
|
|
, desktop-file-utils
|
|
, gobject-introspection
|
|
, gtksourceview4
|
|
, gspell
|
|
, libhandy
|
|
, poppler_gi
|
|
, webkitgtk_4_1
|
|
, librsvg
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "setzer";
|
|
version = "55";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cvfosammmm";
|
|
repo = "Setzer";
|
|
rev = "v${version}";
|
|
hash = "sha256-Mcl9kWeo4w/wW8crR58Yyqoh26w8/SmNrjmHps6DmRA=";
|
|
};
|
|
|
|
format = "other";
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
gettext
|
|
appstream # for appstreamcli
|
|
appstream-glib
|
|
wrapGAppsHook
|
|
desktop-file-utils
|
|
gobject-introspection
|
|
];
|
|
|
|
buildInputs = [
|
|
gtksourceview4
|
|
gspell
|
|
libhandy
|
|
poppler_gi
|
|
webkitgtk_4_1
|
|
librsvg
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
pygobject3
|
|
pyxdg
|
|
pdfminer-six
|
|
pycairo
|
|
pexpect
|
|
];
|
|
|
|
checkPhase = ''
|
|
meson test --print-errorlogs
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "LaTeX editor written in Python with Gtk";
|
|
homepage = src.meta.homepage;
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|