Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

74 lines
1.3 KiB
Nix
Raw Permalink Normal View History

2025-02-16 12:42:19 +01:00
{
stdenv,
2025-02-16 12:42:19 +01:00
lib,
fetchFromGitLab,
gettext,
meson,
ninja,
pkg-config,
wrapGAppsHook3,
2025-02-16 12:42:19 +01:00
thunar,
exo,
libxfce4ui,
2025-02-16 12:42:19 +01:00
libxfce4util,
gtk3,
glib,
2025-02-16 12:42:19 +01:00
subversion,
apr,
aprutil,
withSubversion ? false,
gitUpdater,
2025-02-16 12:42:19 +01:00
}:
stdenv.mkDerivation (finalAttrs: {
2025-02-16 12:42:19 +01:00
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=";
};
2025-02-16 12:42:19 +01:00
strictDeps = true;
nativeBuildInputs = [
gettext
meson
ninja
pkg-config
wrapGAppsHook3
];
2025-02-16 12:42:19 +01:00
buildInputs = [
thunar
exo
libxfce4ui
2025-02-16 12:42:19 +01:00
libxfce4util
gtk3
glib
2025-02-16 12:42:19 +01:00
]
++ lib.optionals withSubversion [
apr
aprutil
subversion
];
mesonFlags = [
(lib.mesonEnable "svn" withSubversion)
];
passthru.updateScript = gitUpdater { rev-prefix = "thunar-vcs-plugin-"; };
2025-02-16 12:42:19 +01:00
meta = {
description = "Thunar plugin providing support for Subversion and Git";
homepage = "https://gitlab.xfce.org/thunar-plugins/thunar-vcs-plugin";
license = lib.licenses.lgpl2Only;
2025-02-16 12:42:19 +01:00
maintainers = with lib.maintainers; [ lordmzte ];
teams = [ lib.teams.xfce ];
platforms = lib.platforms.linux;
2025-02-16 12:42:19 +01:00
};
})