mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 23:52:33 +00:00
40974d10de
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
30 lines
912 B
Nix
30 lines
912 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gtk3, libwnck3, libxklavier
|
|
, appindicatorSupport ? true, libayatana-appindicator-gtk3
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gxkb";
|
|
version = "0.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zen-tools";
|
|
repo = "gxkb";
|
|
rev = "v${version}";
|
|
sha256 = "1fmppvpfz8rip71agsc464fdz423qw0xy8i3pcic14cy5gcwh069";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
|
buildInputs = [ gtk3 libwnck3 libxklavier ] ++ lib.optional appindicatorSupport libayatana-appindicator-gtk3;
|
|
|
|
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;
|
|
};
|
|
}
|