i3-wk-switch: init at 2017-08-21

This commit is contained in:
Patrick Hilhorst 2018-03-06 00:29:14 +01:00
parent f5f71c08cd
commit 24246f2d89
3 changed files with 43 additions and 1 deletions

View file

@ -3363,6 +3363,11 @@
github = "symphorien";
name = "Guillaume Girol";
};
synthetica = {
email = "nix@hilhorst.be";
github = "Synthetica9";
name = "Patrick Hilhorst";
};
szczyp = {
email = "qb@szczyp.com";
github = "szczyp";

View file

@ -0,0 +1,35 @@
{ stdenv, fetchFromGitHub, python2Packages }:
let
pkgName = "i3-wk-switch";
in
python2Packages.buildPythonApplication rec {
name = "${pkgName}-${version}";
version = "2017-08-21";
# https://github.com/tmfink/i3-wk-switch/commit/484f840bc4c28ddc60fa3be81e2098f7689e78fb
src = fetchFromGitHub {
owner = "tmfink";
repo = pkgName;
rev = "484f840";
sha256 = "0nrc13ld5bx07wrgnpzgpbaixb4rpi93xiapvyb8srd49fj9pcmb";
};
propagatedBuildInputs = with python2Packages; [ i3-py ];
dontBuild = true;
doCheck = false;
installPhase = ''
mkdir -p "$out/bin"
cp i3-wk-switch.py "$out/bin/i3-wk-switch"
'';
meta = with stdenv.lib; {
description = "XMonad-like workspace switching for i3";
maintainers = with maintainers; [ synthetica ];
platforms = platforms.linux;
license = licenses.gpl3Plus;
homepage = https://travisf.net/i3-wk-switcher;
};
}

View file

@ -10433,7 +10433,7 @@ with pkgs;
## libGL/libGLU/Mesa stuff
# Default libGL implementation, should provide headers and libGL.so/libEGL.so/... to link agains them
# Default implementation is `mesa`, but can be eventually replaced with `libglvnd`,
# Default implementation is `mesa`, but can be eventually replaced with `libglvnd`,
# or other runtime dispatcher
libGL = mesa_noglu;
@ -15968,6 +15968,8 @@ with pkgs;
i3status-rust = callPackage ../applications/window-managers/i3/status-rust.nix { };
i3-wk-switch = callPackage ../applications/window-managers/i3/wk-switch.nix { };
i810switch = callPackage ../os-specific/linux/i810switch { };
icewm = callPackage ../applications/window-managers/icewm {};