Files
nixpkgs/pkgs/development/libraries/mesa/headers.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

41 lines
804 B
Nix

{
lib,
stdenv,
fetchFromGitLab,
}:
let
common = import ./common.nix { inherit lib fetchFromGitLab; };
headers = [
"include/GL/internal/dri_interface.h"
"include/EGL/eglext_angle.h"
"include/EGL/eglmesaext.h"
];
in
stdenv.mkDerivation rec {
pname = "mesa-gl-headers";
# These are a bigger rebuild and don't change often, so keep them separate.
version = "25.1.0";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "mesa";
repo = "mesa";
rev = "mesa-${version}";
hash = "sha256-UlI+6OMUj5F6uVAw+Mg2wOZrjfdRq73d1qufaXVI/go";
};
dontBuild = true;
installPhase = ''
for header in ${toString headers}; do
install -Dm444 $header $out/$header
done
'';
passthru = { inherit headers; };
inherit (common) meta;
}