31 lines
916 B
Nix
31 lines
916 B
Nix
{stdenv, fetchgit, xproto, libX11, libXft, libXcomposite, libXdamage
|
|
, libXext, xextproto, libXinerama, libjpeg, giflib, pkgconfig
|
|
}:
|
|
let
|
|
buildInputs = [
|
|
xproto libX11 libXft libXcomposite libXdamage libXext xextproto
|
|
libXinerama libjpeg giflib pkgconfig
|
|
];
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
version = "git-2015-03-01";
|
|
name = "skippy-xd-${version}";
|
|
inherit buildInputs;
|
|
src = fetchgit {
|
|
url = "https://github.com/richardgv/skippy-xd/";
|
|
rev = "397216ca67";
|
|
sha256 = "19lvy5888j7rl52dsxv1wwxxijdlk8d7qn1zzzy0b8wvqknhxypm";
|
|
};
|
|
makeFlags = ["PREFIX=$(out)"];
|
|
preInstall = ''
|
|
sed -e "s@/etc/xdg@$out&@" -i Makefile
|
|
'';
|
|
meta = {
|
|
inherit version;
|
|
description = ''Expose-style compositing-based standalone window switcher'';
|
|
license = stdenv.lib.licenses.gpl2Plus ;
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|