mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 17:41:12 +00:00
2e6bf42a22
There ver very many conflicts, basically all due to name -> pname+version. Fortunately, almost everything was auto-resolved by kdiff3, and for now I just fixed up a couple evaluation problems, as verified by the tarball job. There might be some fallback to these conflicts, but I believe it should be minimal. Hydra nixpkgs: ?compare=1538299
25 lines
647 B
Nix
25 lines
647 B
Nix
{ stdenv, fetchFromGitHub, cmake, libX11, libxkbfile }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xkb-switch";
|
|
version = "1.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ierton";
|
|
repo = "xkb-switch";
|
|
rev = version;
|
|
sha256 = "11yn0y1kx04rqxh0d81b5q7kbyz58pi48bl7hyhlv7p8yndkfg4b";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
buildInputs = [ libX11 libxkbfile ];
|
|
|
|
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;
|
|
};
|
|
}
|