nixpkgs/pkgs/tools/X11/skippy-xd/default.nix

49 lines
905 B
Nix
Raw Normal View History

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