nixpkgs-suyu/pkgs/tools/X11/skippy-xd/default.nix
jzbor 097f9e6c1e skippy-xd: richardgv/skippy-xd unstable-2023-03-10 -> dreamcat4 0.6.0
Updating to the latest release 0.6.0 and switching to the currently
actively maintained fork from dreamcat4.
2023-03-20 02:24:00 +01:00

46 lines
927 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, xorgproto
, libX11
, libXft
, libXcomposite
, libXdamage
, libXext
, libXinerama
, libjpeg
, giflib
, pkg-config
}:
stdenv.mkDerivation rec {
pname = "skippy-xd";
version = "0.6.0";
src = fetchFromGitHub {
owner = "dreamcat4";
repo = "skippy-xd";
rev = "d0557c3144fc67568a49d7207efef89c1d5777a0";
sha256 = "sha256-dnoPUPCvuR/HhqIz1WAsmWL/CkfTf11YEkbrkVWM4dc=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [
xorgproto
libX11
libXft
libXcomposite
libXdamage
libXext
libXinerama
libjpeg
giflib
];
makeFlags = [ "PREFIX=$(out)" ];
preInstall = ''
sed -e "s@/etc/xdg@$out&@" -i Makefile
'';
meta = with lib; {
description = "Expose-style compositing-based standalone window switcher";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
};
}