bb5b50588c
GitOrigin-RevId: 9816b99e71c3504b0b4c1f8b2e004148460029d4
24 lines
646 B
Nix
24 lines
646 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, libX11, libxkbfile }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xkb-switch";
|
|
version = "1.8.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ierton";
|
|
repo = "xkb-switch";
|
|
rev = version;
|
|
sha256 = "sha256-DZAIL6+D+Hgs+fkJwRaQb9BHrEjAkxiqhOZyrR+Mpuk=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ libX11 libxkbfile ];
|
|
|
|
meta = with 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;
|
|
};
|
|
}
|