blob: b15a6baa7cab582e66497445318bfce8bac7a392 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ lib, stdenv, fetchFromGitHub, meson, ninja }:
stdenv.mkDerivation rec {
pname = "directx-headers";
version = "1.611.0";
src = fetchFromGitHub {
owner = "microsoft";
repo = "DirectX-Headers";
rev = "v${version}";
hash = "sha256-HG2Zj8hvsgv8oeSDp1eK+1A5bvFL6oQIh5mMFWOFsvk=";
};
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;
};
}
|