depot/third_party/nixpkgs/pkgs/tools/X11/skippy-xd/default.nix
Default email 410b979fe2 Project import generated by Copybara.
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
2023-03-24 01:07:29 +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;
};
}