1 { lib, fetchFromGitLab }:
2 # When updating this package, please verify at least these build (assuming x86_64-linux):
3 # nix build .#mesa .#pkgsi686Linux.mesa .#pkgsCross.aarch64-multiplatform.mesa .#pkgsMusl.mesa
5 # nix build .#legacyPackages.x86_64-darwin.mesa .#legacyPackages.aarch64-darwin.mesa
10 src = fetchFromGitLab {
11 domain = "gitlab.freedesktop.org";
14 rev = "mesa-${version}";
15 hash = "sha256-yoX2DvinzqrG+rekiqO/iG6F6Zn63WC+ZaathimxO1g=";
19 description = "Open source 3D graphics library";
21 The Mesa project began as an open-source implementation of the OpenGL
22 specification - a system for rendering interactive 3D graphics. Over the
23 years the project has grown to implement more graphics APIs, including
24 OpenGL ES (versions 1, 2, 3), OpenCL, OpenMAX, VDPAU, VA API, XvMC, and
25 Vulkan. A variety of device drivers allows the Mesa libraries to be used
26 in many different environments ranging from software emulation to
27 complete hardware acceleration for modern GPUs.
29 homepage = "https://www.mesa3d.org/";
30 changelog = "https://docs.mesa3d.org/relnotes/${version}.html";
31 license = with lib.licenses; [ mit ]; # X11 variant, in most files
32 platforms = lib.platforms.unix;
33 maintainers = with lib.maintainers; [
37 ]; # Help is welcome :)