Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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 4# Ideally also verify: 5# nix build .#legacyPackages.x86_64-darwin.mesa .#legacyPackages.aarch64-darwin.mesa 6rec { 7 pname = "mesa"; 8 version = "25.1.7"; 9 10 src = fetchFromGitLab { 11 domain = "gitlab.freedesktop.org"; 12 owner = "mesa"; 13 repo = "mesa"; 14 rev = "mesa-${version}"; 15 hash = "sha256-dseMHUifLsszSAGCaZwgOwhj0/yfbRlBVVHQz25NdjY="; 16 }; 17 18 meta = { 19 description = "Open source 3D graphics library"; 20 longDescription = '' 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. 28 ''; 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; [ 34 k900 35 vcunat 36 ]; # Help is welcome :) 37 }; 38}