nixpkgs/pkgs/tools/X11/xkb-switch/default.nix

25 lines
646 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, libX11, libxkbfile }:
stdenv.mkDerivation rec {
pname = "xkb-switch";
2021-02-18 19:02:46 +00:00
version = "1.8.5";
src = fetchFromGitHub {
owner = "ierton";
repo = "xkb-switch";
rev = version;
2021-02-18 19:02:46 +00:00
sha256 = "sha256-DZAIL6+D+Hgs+fkJwRaQb9BHrEjAkxiqhOZyrR+Mpuk=";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libX11 libxkbfile ];
meta = with lib; {
2015-01-03 23:48:05 +00:00
description = "Switch your X keyboard layouts from the command line";
homepage = "https://github.com/ierton/xkb-switch";
2015-01-03 23:48:05 +00:00
license = licenses.gpl2Plus;
maintainers = with maintainers; [ smironov ];
platforms = platforms.linux;
};
}