Unverified Commit de2d647f authored by Bobby Rong's avatar Bobby Rong Committed by GitHub
Browse files

xfce.xfce4-screenshooter: 1.11.2 -> 1.11.3 (#459183)

parents 5d32d3d9 95756ab0
Loading
Loading
Loading
Loading
+4 −21
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
  wrapGAppsHook3,
  exo,
  gtk3,
  gtk-layer-shell,
  libX11,
  libXext,
  libXfixes,
@@ -21,23 +22,19 @@
  wlr-protocols,
  xfce4-panel,
  xfconf,
  curl,
  zenity,
  jq,
  xclip,
  gitUpdater,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "xfce4-screenshooter";
  version = "1.11.2";
  version = "1.11.3";

  src = fetchFromGitLab {
    domain = "gitlab.xfce.org";
    owner = "apps";
    repo = "xfce4-screenshooter";
    tag = "xfce4-screenshooter-${finalAttrs.version}";
    hash = "sha256-LELPY3SU25e3Dk9/OljWMLIbZYrDiQD1h6dMq+jRaH8=";
    hash = "sha256-VN9j5Ieg3MZwhS4mE4LMRbQ5AM9F8O2n5lx/V0Qk0Po=";
  };

  strictDeps = true;
@@ -59,6 +56,7 @@ stdenv.mkDerivation (finalAttrs: {
  buildInputs = [
    exo
    gtk3
    gtk-layer-shell
    libX11
    libXext
    libXfixes
@@ -71,21 +69,6 @@ stdenv.mkDerivation (finalAttrs: {
    xfconf
  ];

  preFixup = ''
    # For Imgur upload action
    # https://gitlab.xfce.org/apps/xfce4-screenshooter/-/merge_requests/51
    gappsWrapperArgs+=(
      --prefix PATH : ${
        lib.makeBinPath [
          curl
          zenity
          jq
          xclip
        ]
      }
    )
  '';

  passthru.updateScript = gitUpdater { rev-prefix = "xfce4-screenshooter-"; };

  meta = {