2018-12-31 03:40:47 +00:00
|
|
|
{ stdenv, fetchFromGitHub, pkgconfig, xorgproto, libxcb, xcbutilkeysyms
|
2018-07-17 21:11:16 +01:00
|
|
|
, xorg , i3ipc-glib , glib
|
2018-06-22 08:44:53 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "i3easyfocus-${version}";
|
|
|
|
version = "20180622";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cornerman";
|
|
|
|
repo = "i3-easyfocus";
|
|
|
|
rev = "3631d5af612d58c3d027f59c86b185590bd78ae1";
|
|
|
|
sha256 = "1wgknmmm7iz0wxsdh29gmx4arizva9101pzhnmac30bmixf3nzhr";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2018-12-31 03:40:47 +00:00
|
|
|
buildInputs = [ libxcb xcbutilkeysyms xorgproto xorg.libX11.dev i3ipc-glib glib.dev ];
|
2018-06-22 08:44:53 +01:00
|
|
|
|
|
|
|
# Makefile has no rule for 'install'
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp i3-easyfocus $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Focus and select windows in i3";
|
|
|
|
homepage = https://github.com/cornerman/i3-easyfocus;
|
|
|
|
maintainers = with maintainers; [teto];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|