Unverified Commit 79d51420 authored by Bobby Rong's avatar Bobby Rong
Browse files
parent fd6f086c
Loading
Loading
Loading
Loading
+29 −14
Original line number Diff line number Diff line
{
  stdenv,
  lib,
  mkXfceDerivation,
  fetchFromGitLab,
  meson,
  ninja,
  pkg-config,
  glib,
  gtk3,
  thunar,
  exo,
  libxfce4util,
  gettext,
  gitUpdater,
}:

mkXfceDerivation {
  category = "thunar-plugins";
stdenv.mkDerivation (finalAttrs: {
  pname = "thunar-archive-plugin";
  version = "0.5.3";
  odd-unstable = false;
  version = "0.6.0";

  sha256 = "sha256-9EjEQml/Xdj/jCtC4ZuGdmpeNnOqUWJOqoVzLuxzG6s=";
  src = fetchFromGitLab {
    domain = "gitlab.xfce.org";
    owner = "thunar-plugins";
    repo = "thunar-archive-plugin";
    tag = "thunar-archive-plugin-${finalAttrs.version}";
    hash = "sha256-/WLkEqzFAKpB7z8mWSgufo4Qbj6KP3Ax8MWVZxIwDs0=";
  };

  strictDeps = true;

  nativeBuildInputs = [
    gettext
    meson
    ninja
    pkg-config
  ];

  buildInputs = [
    thunar
    exo
    glib
    gtk3
    libxfce4util
  ];

  preConfigure = ''
    ./autogen.sh
  '';
  passthru.updateScript = gitUpdater { rev-prefix = "thunar-archive-plugin-"; };

  meta = with lib; {
  meta = {
    description = "Thunar plugin providing file context menus for archives";
    teams = [ teams.xfce ];
    homepage = "https://gitlab.xfce.org/thunar-plugins/thunar-archive-plugin";
    license = lib.licenses.lgpl2Only;
    teams = [ lib.teams.xfce ];
    platforms = lib.platforms.linux;
  };
}
})