3
0
Fork 0
forked from mirrors/nixpkgs

gxkb: init at 0.9.0 (#115323)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
omgbebebe 2021-03-08 00:25:34 +04:00 committed by GitHub
parent a986113bf3
commit 40974d10de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ 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;
};
}

View file

@ -9097,6 +9097,8 @@ in
xwallpaper = callPackage ../tools/X11/xwallpaper { };
gxkb = callPackage ../applications/misc/gxkb { };
xxkb = callPackage ../applications/misc/xxkb { };
ugarit = callPackage ../tools/backup/ugarit {