Bobby Rong
2025-05-26 23:45:38 +08:00
parent 086b5a60c2
commit edef01f504
@@ -1,8 +1,15 @@
{
stdenv,
lib,
mkXfceDerivation,
fetchFromGitLab,
gettext,
meson,
ninja,
pkg-config,
wrapGAppsHook3,
thunar,
exo,
libxfce4ui,
libxfce4util,
gtk3,
glib,
@@ -10,19 +17,36 @@
apr,
aprutil,
withSubversion ? false,
gitUpdater,
}:
mkXfceDerivation {
category = "thunar-plugins";
pname = "thunar-vcs-plugin";
version = "0.3.0";
odd-unstable = false;
sha256 = "sha256-e9t6lIsvaV/2AAL/7I4Pbcokvy7Lp2+D9sJefTZqB1g=";
stdenv.mkDerivation (finalAttrs: {
pname = "thunar-vcs-plugin";
version = "0.4.0";
src = fetchFromGitLab {
domain = "gitlab.xfce.org";
owner = "thunar-plugins";
repo = "thunar-vcs-plugin";
tag = "thunar-vcs-plugin-${finalAttrs.version}";
hash = "sha256-VuTTao46/3JNzCHv7phCC8DCy9rjlEcMuGmGiIOSsMM=";
};
strictDeps = true;
nativeBuildInputs = [
gettext
meson
ninja
pkg-config
wrapGAppsHook3
];
buildInputs =
[
thunar
exo
libxfce4ui
libxfce4util
gtk3
glib
@@ -33,9 +57,18 @@ mkXfceDerivation {
subversion
];
mesonFlags = [
(lib.mesonEnable "svn" withSubversion)
];
passthru.updateScript = gitUpdater { rev-prefix = "thunar-vcs-plugin-"; };
meta = {
description = "Thunar plugin providing support for Subversion and Git";
homepage = "https://gitlab.xfce.org/thunar-plugins/thunar-vcs-plugin";
license = lib.licenses.lgpl2Only;
maintainers = with lib.maintainers; [ lordmzte ];
teams = [ lib.teams.xfce ];
platforms = lib.platforms.linux;
};
}
})