nixpkgs/pkgs/servers/x11/quartz-wm/default.nix
iliana etaoin e42705c982 licenses: rename apsl{10,20} -> apple-psl{10,20}
Part 1 of #301908.

This renames the two versions of the Apple Public Source License seen in
nixpkgs; `apsl20` was often confused as being for the widely-used Apache
License 2.0.
2024-04-08 20:39:37 +02:00

32 lines
821 B
Nix

{ 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
];
configureFlags = [ "--enable-xplugin-dock-support" ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
xorg.libXinerama
xorg.libAppleWM
xorg.xorgproto
xorg.libXrandr
xorg.libXext
pixman
AppKit Xplugin Foundation
];
meta = with lib; {
license = licenses.apple-psl20;
platforms = platforms.darwin;
maintainers = with maintainers; [ matthewbauer ];
};
}