nixpkgs/pkgs/development/libraries/directx-headers/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
665 B
Nix
Raw Normal View History

2023-01-28 15:30:04 +03:00
{ lib, stdenv, fetchFromGitHub, meson, ninja }:
stdenv.mkDerivation rec {
pname = "directx-headers";
2023-05-07 12:49:43 +03:00
version = "1.610.2";
2023-01-28 15:30:04 +03:00
src = fetchFromGitHub {
owner = "microsoft";
repo = "DirectX-Headers";
rev = "v${version}";
2023-05-07 12:49:43 +03:00
hash = "sha256-se+/TgqKdatTnBlHcBC1K4aOGGfPEW+E1efpP34+xc0=";
2023-01-28 15:30:04 +03:00
};
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;
};
}