From e520b3cd4738b95b24518e0a322888232e9b7fc9 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Mon, 19 May 2025 18:11:25 +0200 Subject: [PATCH] thunar-shares-plugin: init at 0.5.0 Closes #334080 --- .../th/thunar-shares-plugin/package.nix | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 pkgs/by-name/th/thunar-shares-plugin/package.nix diff --git a/pkgs/by-name/th/thunar-shares-plugin/package.nix b/pkgs/by-name/th/thunar-shares-plugin/package.nix new file mode 100644 index 000000000000..23b448124205 --- /dev/null +++ b/pkgs/by-name/th/thunar-shares-plugin/package.nix @@ -0,0 +1,54 @@ +{ + 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 ]; + }; +})