2015-10-28 20:56:13 +00:00
|
|
|
{ stdenv, lib, fetchurl, xorg, pixman, pkgconfig, AppKit, Xplugin }:
|
2014-08-13 01:40:57 +01:00
|
|
|
|
|
|
|
let version = "1.3.1";
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
name = "quartz-wm-${version}";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://xquartz-dl.macosforge.org/src/quartz-wm-${version}.tar.xz";
|
|
|
|
sha256 = "1j8zd3p7rhay1s3sxq6anw78k5s59mx44xpqla2ianl62346a5g9";
|
|
|
|
};
|
|
|
|
patches = [
|
|
|
|
./no_title_crash.patch
|
|
|
|
./extern-patch.patch
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
xorg.libXinerama
|
|
|
|
xorg.libAppleWM
|
|
|
|
xorg.applewmproto
|
|
|
|
xorg.libXrandr
|
|
|
|
xorg.libXext
|
|
|
|
pixman
|
|
|
|
pkgconfig
|
2015-10-28 20:56:13 +00:00
|
|
|
AppKit Xplugin
|
2014-08-13 01:40:57 +01:00
|
|
|
];
|
2015-09-28 22:45:45 +01:00
|
|
|
NIX_CFLAGS_COMPILE = "-F/System/Library/Frameworks -I/usr/include";
|
2015-09-23 00:26:48 +01:00
|
|
|
NIX_LDFLAGS = stdenv.lib.optional stdenv.isDarwin
|
|
|
|
"/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation";
|
2014-08-13 01:40:57 +01:00
|
|
|
meta = with lib; {
|
|
|
|
license = licenses.apsl20;
|
|
|
|
platforms = platforms.darwin;
|
|
|
|
};
|
|
|
|
}
|