depot/third_party/nixpkgs/pkgs/tools/X11/skippy-xd/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

30 lines
874 B
Nix

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