2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, libX11, libxkbfile }:
|
2012-12-27 11:43:00 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "xkb-switch";
|
2021-02-18 19:02:46 +00:00
|
|
|
version = "1.8.5";
|
2012-12-27 11:43:00 +00:00
|
|
|
|
2019-01-02 16:09:15 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ierton";
|
|
|
|
repo = "xkb-switch";
|
|
|
|
rev = version;
|
2021-02-18 19:02:46 +00:00
|
|
|
sha256 = "sha256-DZAIL6+D+Hgs+fkJwRaQb9BHrEjAkxiqhOZyrR+Mpuk=";
|
2012-12-27 11:43:00 +00:00
|
|
|
};
|
|
|
|
|
2019-01-02 16:09:15 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ libX11 libxkbfile ];
|
2012-12-27 11:43:00 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-01-03 23:48:05 +00:00
|
|
|
description = "Switch your X keyboard layouts from the command line";
|
2020-04-01 02:11:51 +01:00
|
|
|
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;
|
2012-12-27 11:43:00 +00:00
|
|
|
};
|
|
|
|
}
|