3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/X11/xkb-switch/default.nix

25 lines
657 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake, libX11, libxkbfile }:
stdenv.mkDerivation rec {
2015-01-03 23:48:05 +00:00
name = "xkb-switch-${version}";
version = "1.6.0";
src = fetchFromGitHub {
owner = "ierton";
repo = "xkb-switch";
rev = version;
sha256 = "11yn0y1kx04rqxh0d81b5q7kbyz58pi48bl7hyhlv7p8yndkfg4b";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libX11 libxkbfile ];
2015-01-03 23:48:05 +00:00
meta = with stdenv.lib; {
description = "Switch your X keyboard layouts from the command line";
homepage = https://github.com/ierton/xkb-switch;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ smironov ];
platforms = platforms.linux;
};
}