diff options
author | Anderson Torres | 2024-03-08 09:52:53 -0300 |
---|---|---|
committer | Anderson Torres | 2024-06-14 15:22:56 -0300 |
commit | 82bff8fc884a46f329ef4dfcc512ba59a77e6175 (patch) | |
tree | 8c9573ba795227a657266b70b767b9a53290633f /pkgs/by-name/vk | |
parent | 1895d8639656b288b49f01b8f8f900e6758a78de (diff) |
vkd3d: migrate to by-name
Diffstat (limited to 'pkgs/by-name/vk')
-rw-r--r-- | pkgs/by-name/vk/vkd3d/package.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/by-name/vk/vkd3d/package.nix b/pkgs/by-name/vk/vkd3d/package.nix new file mode 100644 index 000000000000..4f1ddd6f12a6 --- /dev/null +++ b/pkgs/by-name/vk/vkd3d/package.nix @@ -0,0 +1,26 @@ +{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, wine, flex, bison +, vulkan-headers, spirv-headers, vulkan-loader }: + +stdenv.mkDerivation rec { + pname = "vkd3d"; + version = "1.10"; + + 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-/5tc8agqpRbFRnfv8O1fBo2SPNOuO6exs0BZ9MnOTA0="; + }; + + meta = with lib; { + homepage = "https://gitlab.winehq.org/wine/vkd3d"; + description = "3D graphics library with an API very similar, but not identical, to Direct3D 12"; + license = licenses.lgpl21; + maintainers = with maintainers; [ expipiplus1 ]; + platforms = platforms.all; + }; +} |