diff options
author | Sergey Mironov <ierton@gmail.com> | 2012-12-27 15:43:00 +0400 |
---|---|---|
committer | Sergey Mironov <ierton@gmail.com> | 2012-12-27 17:45:08 +0400 |
commit | c27b55667311641cad40a41a26e47f2c5d26ac52 (patch) | |
tree | 9a40c9c544aac9232d4ac745719da73a66ced4d3 /pkgs/tools | |
parent | f1e15325f9918bebdf9db46511b5132816999be6 (diff) | |
download | nixpkgs-c27b55667311641cad40a41a26e47f2c5d26ac52.tar nixpkgs-c27b55667311641cad40a41a26e47f2c5d26ac52.tar.gz nixpkgs-c27b55667311641cad40a41a26e47f2c5d26ac52.tar.bz2 nixpkgs-c27b55667311641cad40a41a26e47f2c5d26ac52.tar.lz nixpkgs-c27b55667311641cad40a41a26e47f2c5d26ac52.tar.xz nixpkgs-c27b55667311641cad40a41a26e47f2c5d26ac52.tar.zst nixpkgs-c27b55667311641cad40a41a26e47f2c5d26ac52.zip |
xkb_switch: command line tool to switch X keyboard layouts
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/X11/xkb-switch/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/X11/xkb-switch/default.nix b/pkgs/tools/X11/xkb-switch/default.nix new file mode 100644 index 00000000000..0fc49038efe --- /dev/null +++ b/pkgs/tools/X11/xkb-switch/default.nix @@ -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"; + }; +} + |