nixpkgs/pkgs/development/libraries/mesa/headers.nix

10 lines
218 B
Nix
Raw Normal View History

{stdenv, mesaSrc}:
stdenv.mkDerivation {
name = "mesa-headers-6.5.2"; # !!! keep up-to-date
buildCommand = "
unpackFile ${mesaSrc}
ensureDir $out/include
cp -prvd Mesa-*/include/GL $out/include/
";
}