xkb_switch: command line tool to switch X keyboard layouts
This commit is contained in:
parent
f1e15325f9
commit
c27b556673
2 changed files with 24 additions and 0 deletions
22
pkgs/tools/X11/xkb-switch/default.nix
Normal file
22
pkgs/tools/X11/xkb-switch/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ stdenv, fetchgit, cmake, libX11 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xkb-switch-1.2";
|
||||
|
||||
src = fetchgit {
|
||||
url = https://github.com/ierton/xkb-switch.git;
|
||||
rev = "4c90511ecf2cacc040c97f034a13254c3fa9dfef";
|
||||
sha256 = "1jxya67v1qnvbzd0cd5gj7xrwvxyfy1rpa70l8p30p9cmw3ahk41";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake libX11 ];
|
||||
|
||||
meta = {
|
||||
description = "Switch X layouts from the command line";
|
||||
homepage = https://github.com/ierton/xkb-switch.git;
|
||||
maintainers = with stdenv.lib.maintainers; [smironov];
|
||||
platforms = stdenv.lib.platforms.gnu;
|
||||
license = "BSD";
|
||||
};
|
||||
}
|
||||
|
|
@ -8062,6 +8062,8 @@ let
|
|||
base14Fonts = "${ghostscript}/share/ghostscript/fonts";
|
||||
};
|
||||
|
||||
xkb_switch = callPackage ../tools/X11/xkb-switch { };
|
||||
|
||||
libxpdf = callPackage ../applications/misc/xpdf/libxpdf.nix { };
|
||||
|
||||
xpra = callPackage ../tools/X11/xpra {
|
||||
|
|
Loading…
Reference in a new issue