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