8 stdenv.mkDerivation rec {
9 pname = "xkblayout-state";
12 src = fetchFromGitHub {
14 repo = "xkblayout-state";
16 sha256 = "sha256-diorqwDEBdzcBteKvhRisQaY3bx5seaOaWSaPwBkWDo=";
19 buildInputs = [ libX11 ];
23 cp xkblayout-state $out/bin
27 description = "Small command-line program to get/set the current XKB keyboard layout";
28 homepage = "https://github.com/nonpop/xkblayout-state";
29 license = licenses.gpl2;
30 maintainers = [ maintainers.jagajaga ];
31 platforms = platforms.linux;
32 mainProgram = "xkblayout-state";