2019-01-02 08:09:15 -08:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, libX11, libxkbfile }:
|
2012-12-27 03:43:00 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "xkb-switch";
|
2019-08-20 22:12:05 -07:00
|
|
|
version = "1.6.0";
|
2012-12-27 03:43:00 -08:00
|
|
|
|
2019-01-02 08:09:15 -08:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ierton";
|
|
|
|
repo = "xkb-switch";
|
|
|
|
rev = version;
|
2019-08-20 22:12:05 -07:00
|
|
|
sha256 = "11yn0y1kx04rqxh0d81b5q7kbyz58pi48bl7hyhlv7p8yndkfg4b";
|
2012-12-27 03:43:00 -08:00
|
|
|
};
|
|
|
|
|
2019-01-02 08:09:15 -08:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ libX11 libxkbfile ];
|
2012-12-27 03:43:00 -08:00
|
|
|
|
2015-01-03 15:48:05 -08:00
|
|
|
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;
|
2012-12-27 03:43:00 -08:00
|
|
|
};
|
|
|
|
}
|