diff options
author | Sebastian Graf <sgraf1337@gmail.com> | 2019-05-10 09:57:37 +0200 |
---|---|---|
committer | Sebastian Graf <sebastian.graf@kit.edu> | 2019-05-10 10:59:06 +0200 |
commit | c63db92967c71ebce8da6269087ed955714a86e3 (patch) | |
tree | 419b91dca58d776488589ac4747c5a842f0eddcd /pkgs/tools/X11/alttab/default.nix | |
parent | f8043fc41a4b3880621d3c8a1c4c2526da3134ac (diff) |
alttab: init at 1.4.0
[`alttab`](https://github.com/sagb/alttab) is a window switcher for X11,
designed for minimalistic window managers or a standalone X11 session.
Diffstat (limited to 'pkgs/tools/X11/alttab/default.nix')
-rw-r--r-- | pkgs/tools/X11/alttab/default.nix | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/tools/X11/alttab/default.nix b/pkgs/tools/X11/alttab/default.nix new file mode 100644 index 000000000000..4efd86ca63fa --- /dev/null +++ b/pkgs/tools/X11/alttab/default.nix @@ -0,0 +1,45 @@ +{ stdenv, fetchFromGitHub, autoconf, automake, pkgconfig, ronn, libpng, uthash +, xorg }: + +stdenv.mkDerivation rec { + version = "1.4.0"; + + pname = "alttab"; + + src = fetchFromGitHub { + owner = "sagb"; + repo = pname; + rev = "v${version}"; + sha256 = "028ifp54yl3xq5mj2ww9baga8p56nmrx4ypvj8k35akcaxdpyga9"; + }; + + nativeBuildInputs = [ + autoconf + automake + pkgconfig + ronn + ]; + + preConfigure = "./bootstrap.sh"; + + buildInputs = [ + libpng + uthash + xorg.libX11 + xorg.libXft + xorg.libXmu + xorg.libXpm + xorg.libXrandr + xorg.libXrender + ]; + + enableParallelBuild = true; + + meta = with stdenv.lib; { + homepage = https://github.com/sagb/alttab; + description = "X11 window switcher designed for minimalistic window managers or standalone X11 session"; + license = licenses.gpl3; + platforms = platforms.all; + maintainers = [ maintainers.sgraf ]; + }; +} |