Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
68 lines
1.3 KiB
Nix
68 lines
1.3 KiB
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitLab,
|
|
glib,
|
|
meson,
|
|
ninja,
|
|
pkg-config,
|
|
wrapGAppsHook3,
|
|
gspell,
|
|
gtk3,
|
|
gtksourceview4,
|
|
libxfce4ui,
|
|
xfconf,
|
|
enablePolkit ? true,
|
|
polkit,
|
|
gitUpdater,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "mousepad";
|
|
version = "0.6.5";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "gitlab.xfce.org";
|
|
owner = "apps";
|
|
repo = "mousepad";
|
|
tag = "mousepad-${finalAttrs.version}";
|
|
hash = "sha256-5ywpQY4KUnjFCLSAXQo3huzZf94YHK9SLmkkNtfx4Ho=";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
nativeBuildInputs = [
|
|
glib # glib-compile-schemas
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
];
|
|
|
|
buildInputs = [
|
|
glib
|
|
gspell
|
|
gtk3
|
|
gtksourceview4
|
|
libxfce4ui # for shortcut plugin
|
|
xfconf # required by libxfce4kbd-private-3
|
|
]
|
|
++ lib.optionals enablePolkit [
|
|
polkit
|
|
];
|
|
|
|
# Use the GSettings keyfile backend rather than the default
|
|
mesonFlags = [ "-Dkeyfile-settings=true" ];
|
|
|
|
passthru.updateScript = gitUpdater { rev-prefix = "mousepad-"; };
|
|
|
|
meta = {
|
|
description = "Simple text editor for Xfce";
|
|
homepage = "https://gitlab.xfce.org/apps/mousepad";
|
|
license = lib.licenses.gpl2Plus;
|
|
mainProgram = "mousepad";
|
|
teams = [ lib.teams.xfce ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|