nixpkgs/pkgs/applications/misc/gxkb/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
925 B
Nix
Raw Normal View History

2021-06-23 18:22:04 +00:00
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, gtk3, libwnck, libxklavier
, appindicatorSupport ? true, libayatana-appindicator
}:
stdenv.mkDerivation rec {
pname = "gxkb";
2021-10-29 22:03:30 +00:00
version = "0.9.3";
src = fetchFromGitHub {
owner = "zen-tools";
repo = "gxkb";
rev = "v${version}";
2021-10-29 22:03:30 +00:00
sha256 = "sha256-9r1eZl7PgIt2ZpK+QQHaa460imIHT3Lh5mpzcFglyWc=";
};
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ gtk3 libwnck libxklavier ] ++ lib.optional appindicatorSupport libayatana-appindicator;
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;
2024-02-11 02:19:15 +00:00
mainProgram = "gxkb";
};
}