1 { lib, stdenv, fetchFromGitHub, cmake, libX11, libxkbfile }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-DZAIL6+D+Hgs+fkJwRaQb9BHrEjAkxiqhOZyrR+Mpuk=";
14 nativeBuildInputs = [ cmake ];
15 buildInputs = [ libX11 libxkbfile ];
18 description = "Switch your X keyboard layouts from the command line";
19 homepage = "https://github.com/ierton/xkb-switch";
20 license = licenses.gpl2Plus;
21 maintainers = with maintainers; [ smironov ];
22 platforms = platforms.linux;
23 mainProgram = "xkb-switch";