c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
26 lines
834 B
Nix
26 lines
834 B
Nix
{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, wine, flex, bison
|
|
, vulkan-headers, spirv-headers, vulkan-loader }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vkd3d";
|
|
version = "1.7";
|
|
|
|
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}";
|
|
sha256 = "sha256-s5YNA+CjWoYk1tkBYYGfOsI2eXtXPtd1oHVeFFJIWn8=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|