Unverified Commit f202458d authored by Bobby Rong's avatar Bobby Rong
Browse files

xfce.ristretto: 0.13.3 -> 0.13.4

parent 9269c51d
Loading
Loading
Loading
Loading
+43 −14
Original line number Diff line number Diff line
{
  stdenv,
  lib,
  mkXfceDerivation,
  gtk3,
  fetchFromGitLab,
  glib,
  gnome,
  meson,
  ninja,
  pkg-config,
  wrapGAppsHook3,
  cairo,
  exo,
  gtk3,
  libexif,
  libxfce4ui,
  libxfce4util,
  xfconf,
  gnome,
  libheif,
  libjxl,
  librsvg,
  libxfce4ui,
  libxfce4util,
  webp-pixbuf-loader,
  xfconf,
  gitUpdater,
}:

mkXfceDerivation {
  category = "apps";
stdenv.mkDerivation (finalAttrs: {
  pname = "ristretto";
  version = "0.13.3";
  odd-unstable = false;
  version = "0.13.4";

  src = fetchFromGitLab {
    domain = "gitlab.xfce.org";
    owner = "apps";
    repo = "ristretto";
    tag = "ristretto-${finalAttrs.version}";
    hash = "sha256-X0liZddeEOxlo0tyn3Irvo0+MTnMFuvKY2m4h+/EI2E=";
  };

  sha256 = "sha256-cJMHRN4Wl6Fm0yoVqe0h30ZUlE1+Hw1uEDBHfHXBbC0=";
  strictDeps = true;

  nativeBuildInputs = [
    glib # glib-compile-schemas
    meson
    ninja
    pkg-config
    wrapGAppsHook3
  ];

  buildInputs = [
    cairo
    exo
    glib
    gtk3
    libexif
@@ -46,9 +70,14 @@ mkXfceDerivation {
    }"
  '';

  meta = with lib; {
  passthru.updateScript = gitUpdater { rev-prefix = "ristretto-"; };

  meta = {
    description = "Fast and lightweight picture-viewer for the Xfce desktop environment";
    homepage = "https://gitlab.xfce.org/apps/ristretto";
    license = lib.licenses.gpl2Plus;
    mainProgram = "ristretto";
    maintainers = with maintainers; [ ] ++ teams.xfce.members;
    maintainers = lib.teams.xfce.members;
    platforms = lib.platforms.linux;
  };
}
})