mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 10:43:27 +00:00
64 lines
1.0 KiB
Nix
64 lines
1.0 KiB
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
, gettext
|
|
, appstream
|
|
, appstream-glib
|
|
, wrapGAppsHook
|
|
, desktop-file-utils
|
|
, gobject-introspection
|
|
, gtksourceview4
|
|
, gspell
|
|
, poppler_gi
|
|
, webkitgtk
|
|
, librsvg
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "setzer";
|
|
version = "0.3.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cvfosammmm";
|
|
repo = "Setzer";
|
|
rev = "v${version}";
|
|
sha256 = "1qmy2bxl8x6pijjaaj91v6rqdipha6iyy0b6b9y1lk3r2p3azd42";
|
|
};
|
|
|
|
format = "other";
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
ninja
|
|
gettext
|
|
appstream # for appstreamcli
|
|
appstream-glib
|
|
wrapGAppsHook
|
|
desktop-file-utils
|
|
];
|
|
|
|
buildInputs = [
|
|
gobject-introspection
|
|
gtksourceview4
|
|
gspell
|
|
poppler_gi
|
|
webkitgtk
|
|
librsvg
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
pygobject3
|
|
pyxdg
|
|
pypdf2
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "LaTeX editor written in Python with Gtk";
|
|
homepage = src.meta.homepage;
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
};
|
|
}
|