3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #163138 from Stunkymonkey/skippy-xd-refactor

This commit is contained in:
Sandro 2022-03-07 17:13:31 +01:00 committed by GitHub
commit 1225767eea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
{ lib
, stdenv
, fetchgit
, fetchFromGitHub
, xorgproto
, libX11
, libXft
@ -12,7 +12,16 @@
, giflib
, 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 = [
xorgproto
libX11
@ -23,26 +32,15 @@ let
libXinerama
libjpeg
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)" ];
preInstall = ''
sed -e "s@/etc/xdg@$out&@" -i Makefile
'';
meta = {
meta = with lib; {
description = "Expose-style compositing-based standalone window switcher";
license = lib.licenses.gpl2Plus;
maintainers = [ lib.maintainers.raskin ];
platforms = lib.platforms.linux;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
};
}