2021-03-19 17:17:44 +00:00
|
|
|
{ lib, stdenv, coreutils, fetchFromGitHub, autoconf, automake, pkg-config, procps, ronn,
|
|
|
|
libpng, uthash , which, xnee, xorg, python3Packages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-03-16 09:55:35 +00:00
|
|
|
version = "1.6.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
pname = "alttab";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sagb";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-03-16 09:55:35 +00:00
|
|
|
sha256 = "sha256-G4tu008IC3RCeCRZVKFPY2+ioLuUa9hDDKUx1q5C5FQ=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [
|
2020-04-24 23:36:52 +00:00
|
|
|
autoconf
|
|
|
|
automake
|
2021-02-05 17:12:51 +00:00
|
|
|
pkg-config
|
2020-04-24 23:36:52 +00:00
|
|
|
ronn
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = "./bootstrap.sh";
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libpng
|
|
|
|
uthash
|
|
|
|
xorg.libX11
|
|
|
|
xorg.libXft
|
|
|
|
xorg.libXmu
|
|
|
|
xorg.libXpm
|
|
|
|
xorg.libXrandr
|
|
|
|
xorg.libXrender
|
|
|
|
];
|
|
|
|
|
2020-06-18 07:06:33 +00:00
|
|
|
enableParallelBuilding = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-03-19 17:17:44 +00:00
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
coreutils
|
|
|
|
procps
|
|
|
|
python3Packages.xvfbwrapper
|
|
|
|
which
|
|
|
|
xnee
|
|
|
|
xorg.xeyes
|
|
|
|
xorg.xprop
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/sagb/alttab";
|
|
|
|
description = "X11 window switcher designed for minimalistic window managers or standalone X11 session";
|
2021-03-19 17:17:44 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.sgraf ];
|
|
|
|
};
|
|
|
|
}
|