1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/tools/X11/xkb-switch/default.nix
2020-04-10 17:54:53 +01:00

25 lines
649 B
Nix

{ stdenv, fetchFromGitHub, cmake, libX11, libxkbfile }:
stdenv.mkDerivation rec {
pname = "xkb-switch";
version = "1.6.0";
src = fetchFromGitHub {
owner = "ierton";
repo = "xkb-switch";
rev = version;
sha256 = "11yn0y1kx04rqxh0d81b5q7kbyz58pi48bl7hyhlv7p8yndkfg4b";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libX11 libxkbfile ];
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;
};
}