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

thunar-shares-plugin: init at 0.5.0 (#408775)

parents d2952788 e520b3cd
Loading
Loading
Loading
Loading
+54 −0
Original line number Diff line number Diff line
{
  stdenv,
  lib,
  fetchFromGitLab,
  gettext,
  glib,
  gtk3,
  meson,
  ninja,
  pkg-config,
  thunar,
  xfconf,
  gitUpdater,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "thunar-shares-plugin";
  version = "0.5.0";

  src = fetchFromGitLab {
    domain = "gitlab.xfce.org";
    owner = "thunar-plugins";
    repo = "thunar-shares-plugin";
    tag = "thunar-shares-plugin-${finalAttrs.version}";
    hash = "sha256-sWLFagoLy1lbAsPYKm8GWwCH+Aa++cDXbRDwkNh6bKk=";
  };

  strictDeps = true;

  nativeBuildInputs = [
    gettext
    meson
    ninja
    pkg-config
  ];

  buildInputs = [
    glib
    gtk3
    thunar
    xfconf
  ];

  passthru.updateScript = gitUpdater { rev-prefix = "thunar-shares-plugin-"; };

  meta = {
    description = "Thunar plugin providing quick folder sharing using Samba without requiring root access";
    homepage = "https://gitlab.xfce.org/thunar-plugins/thunar-shares-plugin";
    license = lib.licenses.gpl2Plus;
    maintainers = with lib.maintainers; [ fgaz ];
    platforms = lib.platforms.linux;
    teams = [ lib.teams.xfce ];
  };
})