2012-12-27 11:43:00 +00:00
|
|
|
{ stdenv, fetchgit, cmake, libX11 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-01-03 23:48:05 +00:00
|
|
|
name = "xkb-switch-${version}";
|
|
|
|
version = "1.3.1";
|
2012-12-27 11:43:00 +00:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = https://github.com/ierton/xkb-switch.git;
|
2015-01-03 23:48:05 +00:00
|
|
|
rev = "351c84370ad0fa4aaaab9a32817859b1d5fb2a11";
|
|
|
|
sha256 = "0ilj3amwidi7imjvi8hr62y7j8zl809r5xhs7kv816773x32gpxq";
|
2012-12-27 11:43:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake libX11 ];
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|
|
|
|
|