eaf6957cd3
GitOrigin-RevId: 4bb072f0a8b267613c127684e099a70e1f6ff106
25 lines
666 B
Nix
25 lines
666 B
Nix
{ lib, stdenv, fetchFromGitHub, meson, ninja }:
|
|
stdenv.mkDerivation rec {
|
|
pname = "directx-headers";
|
|
version = "1.608.2b";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "microsoft";
|
|
repo = "DirectX-Headers";
|
|
rev = "v${version}";
|
|
hash = "sha256-o4p8L2VKvMHdu1L2I1JI6pwIRtnyVCoKebg9yKTk1T8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ meson ninja ];
|
|
|
|
# tests require WSL2
|
|
mesonFlags = [ "-Dbuild-test=false" ];
|
|
|
|
meta = with lib; {
|
|
description = "Official D3D12 headers from Microsoft";
|
|
homepage = "https://github.com/microsoft/DirectX-Headers";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ k900 ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|