Unverified Commit fd6f086c authored by Bobby Rong's avatar Bobby Rong
Browse files
parent 68d2dfa8
Loading
Loading
Loading
Loading
+37 −9
Original line number Diff line number Diff line
{
  stdenv,
  lib,
  mkXfceDerivation,
  fetchFromGitLab,
  gettext,
  meson,
  ninja,
  pkg-config,
  glib,
  gtk3,
  libnotify,
  librsvg,
@@ -11,18 +17,35 @@
  libxfce4util,
  xfce4-panel,
  xfconf,
  gitUpdater,
}:

mkXfceDerivation {
  category = "panel-plugins";
stdenv.mkDerivation (finalAttrs: {
  pname = "xfce4-xkb-plugin";
  version = "0.8.5";
  sha256 = "sha256-oG3+OudjJIXfGII16bYaIGy4QMno00HX3kX+8H0VUcU=";
  version = "0.9.0";

  src = fetchFromGitLab {
    domain = "gitlab.xfce.org";
    owner = "panel-plugins";
    repo = "xfce4-xkb-plugin";
    tag = "xfce4-xkb-plugin-${finalAttrs.version}";
    hash = "sha256-yLlUKp7X8bylJs7ioQJ36mfqFlsiZXOgFXa0ZP7AG1E=";
  };

  strictDeps = true;

  nativeBuildInputs = [
    gettext
    meson
    ninja
    pkg-config
  ];

  buildInputs = [
    garcon
    glib
    gtk3
    libnotify # optional notification support
    libnotify
    librsvg
    libxfce4ui
    libxfce4util
@@ -32,8 +55,13 @@ mkXfceDerivation {
    xfconf
  ];

  meta = with lib; {
  passthru.updateScript = gitUpdater { rev-prefix = "xfce4-xkb-plugin-"; };

  meta = {
    description = "Allows you to setup and use multiple keyboard layouts";
    teams = [ teams.xfce ];
    homepage = "https://gitlab.xfce.org/panel-plugins/xfce4-xkb-plugin";
    license = lib.licenses.gpl2Plus;
    teams = [ lib.teams.xfce ];
    platforms = lib.platforms.linux;
  };
}
})