2018-11-06 17:48:14 +00:00
|
|
|
{ stdenv, fetchurl, xorg, pixman, pkgconfig, AppKit, Foundation, Xplugin, cf-private }:
|
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
|
2018-12-31 03:40:47 +00:00
|
|
|
xorg.xorgproto
|
2014-08-13 01:40:57 +01:00
|
|
|
xorg.libXrandr
|
|
|
|
xorg.libXext
|
|
|
|
pixman
|
|
|
|
pkgconfig
|
2018-11-06 17:48:14 +00:00
|
|
|
AppKit Xplugin Foundation
|
|
|
|
# Needed for CFNotificationCenterAddObserver symbols.
|
|
|
|
cf-private
|
2014-08-13 01:40:57 +01:00
|
|
|
];
|
2018-11-06 17:48:14 +00:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-13 01:40:57 +01:00
|
|
|
license = licenses.apsl20;
|
|
|
|
platforms = platforms.darwin;
|
2017-11-13 06:33:45 +00:00
|
|
|
maintainers = with maintainers; [ matthewbauer ];
|
2014-08-13 01:40:57 +01:00
|
|
|
};
|
|
|
|
}
|