about summary refs log tree commit diff
path: root/nixpkgs/pkgs/servers/x11/quartz-wm/default.nix
blob: 9beb0553395efd858f3f8540189b3d408b6cad8a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ lib, stdenv, fetchurl, xorg, pixman, pkg-config, AppKit, Foundation, Xplugin }:

let version = "1.3.1";
in stdenv.mkDerivation {
  pname = "quartz-wm";
  inherit 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.xorgproto
    xorg.libXrandr
    xorg.libXext
    pixman
    pkg-config
    AppKit Xplugin Foundation
  ];
  meta = with lib; {
    license = licenses.apsl20;
    platforms = platforms.darwin;
    maintainers = with maintainers; [ matthewbauer ];
  };
}