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