2021-06-28 23:13:55 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gtk3, libwnck, libxklavier
|
2022-10-21 18:38:19 +00:00
|
|
|
, appindicatorSupport ? true, libayatana-appindicator
|
2021-03-09 03:18:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gxkb";
|
2021-12-06 16:07:01 +00:00
|
|
|
version = "0.9.3";
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zen-tools";
|
|
|
|
repo = "gxkb";
|
|
|
|
rev = "v${version}";
|
2021-12-06 16:07:01 +00:00
|
|
|
sha256 = "sha256-9r1eZl7PgIt2ZpK+QQHaa460imIHT3Lh5mpzcFglyWc=";
|
2021-03-09 03:18:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
2022-10-21 18:38:19 +00:00
|
|
|
buildInputs = [ gtk3 libwnck libxklavier ] ++ lib.optional appindicatorSupport libayatana-appindicator;
|
2021-03-09 03:18:52 +00:00
|
|
|
|
|
|
|
configureFlags = lib.optional appindicatorSupport "--enable-appindicator=yes";
|
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "X11 keyboard indicator and switcher";
|
|
|
|
homepage = "https://zen-tools.github.io/gxkb/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.omgbebebe ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|