1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/servers/x11/quartz-wm/default.nix
2017-11-13 00:33:45 -06:00

30 lines
753 B
Nix

{ stdenv, lib, fetchurl, xorg, pixman, pkgconfig, AppKit, Xplugin, darwin }:
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
AppKit Xplugin darwin.apple_sdk.frameworks.Foundation
];
meta = with lib; {
license = licenses.apsl20;
platforms = platforms.darwin;
maintainers = with maintainers; [ matthewbauer ];
};
}