2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, xorgproto, libxcb, xcbutilkeysyms
|
2018-07-17 20:11:16 +00:00
|
|
|
, xorg , i3ipc-glib , glib
|
2018-06-22 07:44:53 +00:00
|
|
|
}:
|
|
|
|
|
2019-04-19 22:26:49 +00:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "i3easyfocus";
|
|
|
|
version = "20190411";
|
2018-06-22 07:44:53 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "cornerman";
|
|
|
|
repo = "i3-easyfocus";
|
2019-04-19 22:26:49 +00:00
|
|
|
rev = "fffb468f7274f9d7c9b92867c8cb9314ec6cf81a";
|
|
|
|
sha256 = "1db23vzzmp0hnfss1fkd80za6d2pajx7hdwikw50pk95jq0w8wfm";
|
2018-06-22 07:44:53 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2018-12-31 03:40:47 +00:00
|
|
|
buildInputs = [ libxcb xcbutilkeysyms xorgproto xorg.libX11.dev i3ipc-glib glib.dev ];
|
2018-06-22 07:44:53 +00:00
|
|
|
|
|
|
|
# Makefile has no rule for 'install'
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp i3-easyfocus $out/bin
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-06-22 07:44:53 +00:00
|
|
|
description = "Focus and select windows in i3";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/cornerman/i3-easyfocus";
|
2018-06-22 07:44:53 +00:00
|
|
|
maintainers = with maintainers; [teto];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|