Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

xkb-switch: 1.3.1 -> 1.5.0, rename from xkb_switch

authored by

wedens and committed by
worldofpeace
88a82a4d 5373cb26

+13 -13
+3 -3
pkgs/misc/vim-plugins/overrides.nix
··· 1 { lib, stdenv 2 , python, cmake, vim, ruby 3 , which, fetchgit, llvmPackages, rustPlatform 4 - , xkb_switch, fzf, skim 5 , python3, boost, icu, ncurses 6 , ycmd, rake 7 , substituteAll ··· 308 vim-xkbswitch = super.vim-xkbswitch.overrideAttrs(old: { 309 patchPhase = '' 310 substituteInPlace plugin/xkbswitch.vim \ 311 - --replace /usr/local/lib/libxkbswitch.so ${xkb_switch}/lib/libxkbswitch.so 312 ''; 313 - buildInputs = [ xkb_switch ]; 314 }); 315 316 vim-yapf = super.vim-yapf.overrideAttrs(old: {
··· 1 { lib, stdenv 2 , python, cmake, vim, ruby 3 , which, fetchgit, llvmPackages, rustPlatform 4 + , xkb-switch, fzf, skim 5 , python3, boost, icu, ncurses 6 , ycmd, rake 7 , substituteAll ··· 308 vim-xkbswitch = super.vim-xkbswitch.overrideAttrs(old: { 309 patchPhase = '' 310 substituteInPlace plugin/xkbswitch.vim \ 311 + --replace /usr/local/lib/libxkbswitch.so ${xkb-switch}/lib/libxkbswitch.so 312 ''; 313 + buildInputs = [ xkb-switch ]; 314 }); 315 316 vim-yapf = super.vim-yapf.overrideAttrs(old: {
+9 -9
pkgs/tools/X11/xkb-switch/default.nix
··· 1 - { stdenv, fetchgit, cmake, libX11 }: 2 3 stdenv.mkDerivation rec { 4 name = "xkb-switch-${version}"; 5 - version = "1.3.1"; 6 7 - src = fetchgit { 8 - url = https://github.com/ierton/xkb-switch.git; 9 - rev = "351c84370ad0fa4aaaab9a32817859b1d5fb2a11"; 10 - sha256 = "0ilj3amwidi7imjvi8hr62y7j8zl809r5xhs7kv816773x32gpxq"; 11 }; 12 13 - buildInputs = [ cmake libX11 ]; 14 15 meta = with stdenv.lib; { 16 description = "Switch your X keyboard layouts from the command line"; 17 - 18 homepage = https://github.com/ierton/xkb-switch; 19 license = licenses.gpl2Plus; 20 maintainers = with maintainers; [ smironov ]; 21 platforms = platforms.linux; 22 }; 23 } 24 -
··· 1 + { stdenv, fetchFromGitHub, cmake, libX11, libxkbfile }: 2 3 stdenv.mkDerivation rec { 4 name = "xkb-switch-${version}"; 5 + version = "1.5.0"; 6 7 + src = fetchFromGitHub { 8 + owner = "ierton"; 9 + repo = "xkb-switch"; 10 + rev = version; 11 + sha256 = "03wk2gg3py97kx0kjzbjrikld1sa55i6mgi398jbcbiyx2gjna78"; 12 }; 13 14 + nativeBuildInputs = [ cmake ]; 15 + buildInputs = [ libX11 libxkbfile ]; 16 17 meta = with stdenv.lib; { 18 description = "Switch your X keyboard layouts from the command line"; 19 homepage = https://github.com/ierton/xkb-switch; 20 license = licenses.gpl2Plus; 21 maintainers = with maintainers; [ smironov ]; 22 platforms = platforms.linux; 23 }; 24 }
+1 -1
pkgs/top-level/all-packages.nix
··· 20240 20241 xpointerbarrier = callPackage ../tools/X11/xpointerbarrier {}; 20242 20243 - xkb_switch = callPackage ../tools/X11/xkb-switch { }; 20244 20245 xkblayout-state = callPackage ../applications/misc/xkblayout-state { }; 20246
··· 20240 20241 xpointerbarrier = callPackage ../tools/X11/xpointerbarrier {}; 20242 20243 + xkb-switch = callPackage ../tools/X11/xkb-switch { }; 20244 20245 xkblayout-state = callPackage ../applications/misc/xkblayout-state { }; 20246