Unverified Commit eda30e62 authored by Bobby Rong's avatar Bobby Rong
Browse files

xfce.mousepad: 0.6.3 -> 0.6.4

parent ce2d5c05
Loading
Loading
Loading
Loading
+35 −15
Original line number Diff line number Diff line
{
  stdenv,
  lib,
  mkXfceDerivation,
  gobject-introspection,
  fetchFromGitLab,
  glib,
  meson,
  ninja,
  pkg-config,
  wrapGAppsHook3,
  gspell,
  gtk3,
  gtksourceview4,
  gspell,
  libxfce4ui,
  xfconf,
  enablePolkit ? true,
  polkit,
  gitUpdater,
}:

mkXfceDerivation {
  category = "apps";
stdenv.mkDerivation (finalAttrs: {
  pname = "mousepad";
  version = "0.6.3";
  odd-unstable = false;
  version = "0.6.4";

  sha256 = "sha256-L1txMS86lOEE9tOPTIOr1Gh4lwH7krnAeq4f3yS5kN0=";
  src = fetchFromGitLab {
    domain = "gitlab.xfce.org";
    owner = "apps";
    repo = "mousepad";
    tag = "mousepad-${finalAttrs.version}";
    hash = "sha256-6ddPma6B4hNgtILavJFz/wtSzLViABkluZ5BTXpbcEE=";
  };

  nativeBuildInputs = [ gobject-introspection ];
  nativeBuildInputs = [
    glib # glib-compile-schemas
    meson
    ninja
    pkg-config
    wrapGAppsHook3
  ];

  buildInputs =
    [
      glib
      gspell
      gtk3
      gtksourceview4
      gspell
      libxfce4ui # for shortcut plugin
      xfconf # required by libxfce4kbd-private-3
    ]
@@ -35,12 +50,17 @@ mkXfceDerivation {
      polkit
    ];

  # Use the GSettings keyfile backend rather than DConf
  configureFlags = [ "--enable-keyfile-settings" ];
  # Use the GSettings keyfile backend rather than the default
  mesonFlags = [ "-Dkeyfile-settings=true" ];

  passthru.updateScript = gitUpdater { rev-prefix = "mousepad-"; };

  meta = with lib; {
  meta = {
    description = "Simple text editor for Xfce";
    homepage = "https://gitlab.xfce.org/apps/mousepad";
    license = lib.licenses.gpl2Plus;
    mainProgram = "mousepad";
    maintainers = with maintainers; [ ] ++ teams.xfce.members;
    maintainers = lib.teams.xfce.members;
    platforms = lib.platforms.linux;
  };
}
})