Unverified Commit fde2dcb5 authored by Robert Schütz's avatar Robert Schütz Committed by GitHub
Browse files

setzer: 65 -> 66 (#337623)

parents baae3630 6c4cdee2
Loading
Loading
Loading
Loading
+81 −0
Original line number Diff line number Diff line
{ lib
, python3
, fetchFromGitHub
, meson
, ninja
, gettext
, appstream
, appstream-glib
, wrapGAppsHook4
, desktop-file-utils
, gobject-introspection
, gtk4
, gtksourceview5
, libadwaita
, libportal
, librsvg
, poppler_gi
, webkitgtk_6_0
{
  appstream,
  appstream-glib,
  desktop-file-utils,
  fetchFromGitHub,
  gettext,
  gobject-introspection,
  gtk4,
  gtksourceview5,
  lib,
  libadwaita,
  libportal,
  librsvg,
  meson,
  ninja,
  poppler_gi,
  python3Packages,
  webkitgtk_6_0,
  wrapGAppsHook4,
}:

python3.pkgs.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
  pname = "setzer";
  version = "65";
  version = "66";
  pyproject = false;

  src = fetchFromGitHub {
    owner = "cvfosammmm";
    repo = "Setzer";
    rev = "v${version}";
    hash = "sha256-5Hpj/RkD11bNcr9/gQG0Y7BNMsh1BGZQiN4IMbI4osc=";
    rev = "refs/tags/v${version}";
    hash = "sha256-hqwwDR9jCk2XptcqpaReZ73jqpq4JpYD3Rc2OmrEPxg=";
  };

  format = "other";

  nativeBuildInputs = [
    meson
    ninja
@@ -52,7 +52,7 @@ python3.pkgs.buildPythonApplication rec {
    webkitgtk_6_0
  ];

  propagatedBuildInputs = with python3.pkgs; [
  dependencies = with python3Packages; [
    bibtexparser
    numpy
    pdfminer-six
@@ -64,14 +64,18 @@ python3.pkgs.buildPythonApplication rec {
  ];

  checkPhase = ''
    runHook preCheck

    meson test --print-errorlogs

    runHook postCheck
  '';

  meta = with lib; {
  meta = {
    description = "LaTeX editor written in Python with Gtk";
    mainProgram = "setzer";
    homepage = src.meta.homepage;
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ dotlambda ];
    homepage = "https://www.cvfosammmm.org/setzer/";
    license = lib.licenses.gpl3Plus;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}
+0 −2
Original line number Diff line number Diff line
@@ -12428,8 +12428,6 @@ with pkgs;
  setserial = callPackage ../tools/system/setserial { };
  setzer = callPackage ../applications/editors/setzer { };
  seqdiag = with python3Packages; toPythonApplication seqdiag;
  sequoia-sqv = callPackage ../tools/security/sequoia-sqv { };