17 stdenv.mkDerivation rec {
22 url = "mirror://sourceforge/xxkb/xxkb-${version}-src.tar.gz";
23 sha256 = "0hl1i38z9xnbgfjkaz04vv1n8xbgfg88g5z8fyzyb2hxv2z37anf";
26 nativeBuildInputs = [ imake gccmakedep pkg-config ];
33 ] ++ lib.optionals svgSupport [ librsvg glib gdk-pixbuf ];
35 outputs = [ "out" "man" ];
37 imakeFlags = lib.optionalString svgSupport "-DWITH_SVG_SUPPORT";
40 "BINDIR=${placeholder "out"}/bin"
41 "CONFDIR=${placeholder "out"}/etc/X11"
42 "PIXMAPDIR=${placeholder "out"}/share/xxkb"
43 "LIBDIR=${placeholder "out"}/lib/X11"
44 "XAPPLOADDIR=${placeholder "out"}/etc/X11/app-defaults"
45 "MANDIR=${placeholder "man"}/share/man"
48 installTargets = [ "install" "install.man" ];
51 description = "Keyboard layout indicator and switcher";
52 homepage = "http://xxkb.sourceforge.net/";
53 license = licenses.artistic2;
54 maintainers = with maintainers; [ rasendubi ];
55 platforms = platforms.linux;