2021-11-10 22:21:47 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2022-03-07 13:11:38 +01:00
|
|
|
, fetchFromGitHub
|
2021-11-10 22:21:47 +01:00
|
|
|
, xorgproto
|
|
|
|
, libX11
|
|
|
|
, libXft
|
|
|
|
, libXcomposite
|
|
|
|
, libXdamage
|
|
|
|
, libXext
|
|
|
|
, libXinerama
|
|
|
|
, libjpeg
|
|
|
|
, giflib
|
|
|
|
, pkg-config
|
2015-06-14 21:53:25 +02:00
|
|
|
}:
|
2022-03-07 13:11:38 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "skippy-xd";
|
|
|
|
version = "unstable-2015-03-01";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "richardgv";
|
|
|
|
repo = "skippy-xd";
|
|
|
|
rev = "397216ca67074c71314f5e9a6e3f1710ccabc29e";
|
|
|
|
sha256 = "sha256-iP6g3iS1aPPkauBLHbgZH/l+TXbWyIJ2TmbrSiNTkn0=";
|
|
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-06-14 21:53:25 +02:00
|
|
|
buildInputs = [
|
2021-11-10 22:21:47 +01:00
|
|
|
xorgproto
|
|
|
|
libX11
|
|
|
|
libXft
|
|
|
|
libXcomposite
|
|
|
|
libXdamage
|
|
|
|
libXext
|
|
|
|
libXinerama
|
|
|
|
libjpeg
|
|
|
|
giflib
|
2015-06-14 21:53:25 +02:00
|
|
|
];
|
2021-11-10 22:21:47 +01:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2015-06-14 21:53:25 +02:00
|
|
|
preInstall = ''
|
|
|
|
sed -e "s@/etc/xdg@$out&@" -i Makefile
|
|
|
|
'';
|
2022-03-07 13:11:38 +01:00
|
|
|
meta = with lib; {
|
2021-01-16 05:20:42 +01:00
|
|
|
description = "Expose-style compositing-based standalone window switcher";
|
2022-03-07 13:11:38 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ raskin ];
|
|
|
|
platforms = platforms.linux;
|
2015-06-14 21:53:25 +02:00
|
|
|
};
|
|
|
|
}
|