2024-07-27 06:49:29 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchFromGitHub,
|
|
|
|
xorgproto,
|
|
|
|
libX11,
|
|
|
|
libXft,
|
|
|
|
libXcomposite,
|
|
|
|
libXdamage,
|
|
|
|
libXext,
|
|
|
|
libXinerama,
|
|
|
|
libjpeg,
|
|
|
|
giflib,
|
|
|
|
pkg-config,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
2022-03-10 19:12:11 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "skippy-xd";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0.8.0";
|
2022-03-10 19:12:11 +00:00
|
|
|
src = fetchFromGitHub {
|
2024-05-15 15:35:15 +00:00
|
|
|
owner = "felixfung";
|
2022-03-10 19:12:11 +00:00
|
|
|
repo = "skippy-xd";
|
2024-07-27 06:49:29 +00:00
|
|
|
rev = "30da57cb59ccf77f766718f7d533ddbe533ba241";
|
|
|
|
hash = "sha256-YBUDbI1SHsBI/fA3f3W1sPu3wXSodMbTGvAMqOz7RCM=";
|
2022-03-10 19:12:11 +00:00
|
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [
|
2021-12-06 16:07:01 +00:00
|
|
|
xorgproto
|
|
|
|
libX11
|
|
|
|
libXft
|
|
|
|
libXcomposite
|
|
|
|
libXdamage
|
|
|
|
libXext
|
|
|
|
libXinerama
|
|
|
|
libjpeg
|
|
|
|
giflib
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
2021-12-06 16:07:01 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
preInstall = ''
|
|
|
|
sed -e "s@/etc/xdg@$out&@" -i Makefile
|
|
|
|
'';
|
2022-03-10 19:12:11 +00:00
|
|
|
meta = with lib; {
|
2021-01-17 00:15:33 +00:00
|
|
|
description = "Expose-style compositing-based standalone window switcher";
|
2024-07-27 06:49:29 +00:00
|
|
|
homepage = "https://github.com/felixfung/skippy-xd";
|
2022-03-10 19:12:11 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ raskin ];
|
|
|
|
platforms = platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|