mesa-gl-headers: init at 25.0.1
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitLab,
|
||||
}:
|
||||
|
||||
let
|
||||
common = import ./common.nix { inherit lib fetchFromGitLab; };
|
||||
headers = [
|
||||
"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.0.1";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
owner = "mesa";
|
||||
repo = "mesa";
|
||||
rev = "mesa-${version}";
|
||||
hash = "sha256-9D4d7EEdZysvXDRcmpbyt85Lo64sldNRomp6/HUVORo=";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
for header in ${toString headers}; do
|
||||
install -Dm444 $header $out/$header
|
||||
done
|
||||
'';
|
||||
|
||||
passthru = { inherit headers; };
|
||||
|
||||
inherit (common) meta;
|
||||
}
|
||||
@@ -9905,6 +9905,7 @@ with pkgs;
|
||||
mesa_i686 = pkgsi686Linux.mesa; # make it build on Hydra
|
||||
|
||||
libgbm = callPackage ../development/libraries/mesa/gbm.nix {};
|
||||
mesa-gl-headers = callPackage ../development/libraries/mesa/headers.nix {};
|
||||
|
||||
## End libGL/libGLU/Mesa stuff
|
||||
|
||||
|
||||
Reference in New Issue
Block a user