2023-04-29 16:46:19 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, wine, flex, bison
|
|
|
|
, vulkan-headers, spirv-headers, vulkan-loader }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "vkd3d";
|
2023-10-09 19:29:22 +00:00
|
|
|
version = "1.9";
|
2023-04-29 16:46:19 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config wine flex bison ];
|
|
|
|
buildInputs = [ vulkan-loader vulkan-headers spirv-headers ];
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.winehq.org";
|
|
|
|
owner = "wine";
|
|
|
|
repo = pname;
|
|
|
|
rev = "${pname}-${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
sha256 = "sha256-IF7TOKxNEWr1p4DpIqoRCeVzi9b3yN8XrmWTMvfoOqw=";
|
2023-04-29 16:46:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://gitlab.winehq.org/wine/vkd3d";
|
|
|
|
description = "A 3D graphics library with an API very similar, but not identical, to Direct3D 12";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = with maintainers; [ expipiplus1 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|