depot/third_party/nixpkgs/pkgs/development/libraries/directx-headers/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

25 lines
665 B
Nix

{ 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;
};
}