Merge pull request #163138 from Stunkymonkey/skippy-xd-refactor
This commit is contained in:
commit
1225767eea
|
@ -1,6 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchgit
|
, fetchFromGitHub
|
||||||
, xorgproto
|
, xorgproto
|
||||||
, libX11
|
, libX11
|
||||||
, libXft
|
, libXft
|
||||||
|
@ -12,7 +12,16 @@
|
||||||
, giflib
|
, giflib
|
||||||
, pkg-config
|
, pkg-config
|
||||||
}:
|
}:
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "skippy-xd";
|
||||||
|
version = "unstable-2015-03-01";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "richardgv";
|
||||||
|
repo = "skippy-xd";
|
||||||
|
rev = "397216ca67074c71314f5e9a6e3f1710ccabc29e";
|
||||||
|
sha256 = "sha256-iP6g3iS1aPPkauBLHbgZH/l+TXbWyIJ2TmbrSiNTkn0=";
|
||||||
|
};
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
xorgproto
|
xorgproto
|
||||||
libX11
|
libX11
|
||||||
|
@ -23,26 +32,15 @@ let
|
||||||
libXinerama
|
libXinerama
|
||||||
libjpeg
|
libjpeg
|
||||||
giflib
|
giflib
|
||||||
pkg-config
|
|
||||||
];
|
];
|
||||||
in
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
version = "unstable-2015-03-01";
|
|
||||||
pname = "skippy-xd";
|
|
||||||
inherit buildInputs;
|
|
||||||
src = fetchgit {
|
|
||||||
url = "https://github.com/richardgv/skippy-xd/";
|
|
||||||
rev = "397216ca67";
|
|
||||||
sha256 = "0zcjacilmsv69rv85j6nfr6pxy8z36w1sjz0dbjg6s5m4kga1zl8";
|
|
||||||
};
|
|
||||||
makeFlags = [ "PREFIX=$(out)" ];
|
makeFlags = [ "PREFIX=$(out)" ];
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
sed -e "s@/etc/xdg@$out&@" -i Makefile
|
sed -e "s@/etc/xdg@$out&@" -i Makefile
|
||||||
'';
|
'';
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "Expose-style compositing-based standalone window switcher";
|
description = "Expose-style compositing-based standalone window switcher";
|
||||||
license = lib.licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = [ lib.maintainers.raskin ];
|
maintainers = with maintainers; [ raskin ];
|
||||||
platforms = lib.platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue