mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
commit
5dba22e5cf
3 changed files with 70 additions and 0 deletions
32
pkgs/applications/window-managers/i3/easyfocus.nix
Normal file
32
pkgs/applications/window-managers/i3/easyfocus.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ stdenv, fetchFromGitHub, pkgconfig, xproto, libxcb, xcbutilkeysyms
|
||||
, xlibs , i3ipc-glib , glib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "i3easyfocus-${version}";
|
||||
version = "20180622";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cornerman";
|
||||
repo = "i3-easyfocus";
|
||||
rev = "3631d5af612d58c3d027f59c86b185590bd78ae1";
|
||||
sha256 = "1wgknmmm7iz0wxsdh29gmx4arizva9101pzhnmac30bmixf3nzhr";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libxcb xcbutilkeysyms xproto xlibs.libX11.dev i3ipc-glib glib.dev ];
|
||||
|
||||
# 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;
|
||||
};
|
||||
}
|
34
pkgs/applications/window-managers/i3/i3ipc-glib.nix
Normal file
34
pkgs/applications/window-managers/i3/i3ipc-glib.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ stdenv, fetchFromGitHub, pkgconfig, xproto, libxcb
|
||||
, autoreconfHook, json-glib, gtk-doc, which
|
||||
, gobjectIntrospection
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
name = "i3ipc-glib-${version}";
|
||||
version = "0.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "acrisci";
|
||||
repo = "i3ipc-glib";
|
||||
rev = "v${version}";
|
||||
sha256 = "1gmk1zjafrn6jh4j7r0wkwrpwvf9drl1lcw8vya23i1f4zbk0wh4";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook which pkgconfig ];
|
||||
|
||||
buildInputs = [ libxcb json-glib gtk-doc xproto gobjectIntrospection ];
|
||||
|
||||
|
||||
preAutoreconf = ''
|
||||
gtkdocize
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A C interface library to i3wm";
|
||||
homepage = https://github.com/acrisci/i3ipc-glib;
|
||||
maintainers = with maintainers; [teto];
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -16512,12 +16512,16 @@ with pkgs;
|
|||
|
||||
i3-gaps = callPackage ../applications/window-managers/i3/gaps.nix { };
|
||||
|
||||
i3-easyfocus = callPackage ../applications/window-managers/i3/easyfocus.nix { };
|
||||
|
||||
i3blocks = callPackage ../applications/window-managers/i3/blocks.nix { };
|
||||
|
||||
i3blocks-gaps = callPackage ../applications/window-managers/i3/blocks-gaps.nix { };
|
||||
|
||||
i3cat = callPackage ../tools/misc/i3cat { };
|
||||
|
||||
i3ipc-glib = callPackage ../applications/window-managers/i3/i3ipc-glib.nix { };
|
||||
|
||||
i3lock = callPackage ../applications/window-managers/i3/lock.nix {
|
||||
cairo = cairo.override { xcbSupport = true; };
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue