2019-01-02 16:09:15 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, libX11, libxkbfile }:
|
2012-12-27 11:43:00 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "xkb-switch";
|
2019-08-21 05:12:05 +00:00
|
|
|
version = "1.6.0";
|
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;
|
2019-08-21 05:12:05 +00:00
|
|
|
sha256 = "11yn0y1kx04rqxh0d81b5q7kbyz58pi48bl7hyhlv7p8yndkfg4b";
|
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
|
|
|
|
2015-01-03 23:48:05 +00: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 11:43:00 +00:00
|
|
|
};
|
|
|
|
}
|