2023-08-26 18:56:30 +02:00
|
|
|
# Autogenerated from vk-cts-sources.py
|
|
|
|
{ fetchurl, fetchFromGitHub }:
|
|
|
|
rec {
|
|
|
|
amber = fetchFromGitHub {
|
|
|
|
owner = "google";
|
|
|
|
repo = "amber";
|
2024-02-02 15:19:54 +01:00
|
|
|
rev = "8e90b2d2f532bcd4a80069e3f37a9698209a21bc";
|
|
|
|
hash = "sha256-LuNCND/NXoNbbTWv7RYQUkq2QXL1qXR27uHwFIz0DXg=";
|
2023-08-26 18:56:30 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
glslang = fetchFromGitHub {
|
|
|
|
owner = "KhronosGroup";
|
|
|
|
repo = "glslang";
|
2024-02-02 15:19:54 +01:00
|
|
|
rev = "9fd0fcd737f1369e89fb3aa8b2e62bad57ac46c6";
|
|
|
|
hash = "sha256-A3IFW3kOuOGj4AfpdDfAHIySDLdIB9IK+wk8TSBcPrk=";
|
2023-08-26 18:56:30 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
jsoncpp = fetchFromGitHub {
|
|
|
|
owner = "open-source-parsers";
|
|
|
|
repo = "jsoncpp";
|
|
|
|
rev = "9059f5cad030ba11d37818847443a53918c327b1";
|
|
|
|
hash = "sha256-m0tz8w8HbtDitx3Qkn3Rxj/XhASiJVkThdeBxIwv3WI=";
|
|
|
|
};
|
|
|
|
|
2023-10-05 11:02:47 +02:00
|
|
|
nvidia-video-samples = fetchFromGitHub {
|
|
|
|
owner = "Igalia";
|
|
|
|
repo = "vk_video_samples";
|
2024-02-02 15:19:54 +01:00
|
|
|
rev = "ce80453dadeea7b1a6409434f3358ef1e46e4ae7";
|
|
|
|
hash = "sha256-zgHMaUA7rdLbmkX8lr4p2TW9g1RDyBmUs5rK++wmUjE=";
|
2023-10-05 11:02:47 +02:00
|
|
|
};
|
|
|
|
|
2023-08-26 18:56:30 +02:00
|
|
|
spirv-headers = fetchFromGitHub {
|
|
|
|
owner = "KhronosGroup";
|
|
|
|
repo = "SPIRV-Headers";
|
2024-02-02 15:19:54 +01:00
|
|
|
rev = "d3c2a6fa95ad463ca8044d7fc45557db381a6a64";
|
|
|
|
hash = "sha256-POd/TnbVzq/Xyi0O4hU24Qk4LDD5Af2kHJgQ+wPVDsg=";
|
2023-08-26 18:56:30 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
spirv-tools = fetchFromGitHub {
|
|
|
|
owner = "KhronosGroup";
|
|
|
|
repo = "SPIRV-Tools";
|
2024-02-02 15:19:54 +01:00
|
|
|
rev = "f9184c6501f7e349e0664d281ac93b1db9c1e5ad";
|
|
|
|
hash = "sha256-BDnKOUIWZVGPPwmQsMqF1yWy80dl75kdaoztUMnlrqc=";
|
2023-08-26 18:56:30 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
vulkan-docs = fetchFromGitHub {
|
|
|
|
owner = "KhronosGroup";
|
|
|
|
repo = "Vulkan-Docs";
|
2024-02-02 15:19:54 +01:00
|
|
|
rev = "d99193d3fcc4b2a0dacc0a9d7e4951ea611a3e96";
|
|
|
|
hash = "sha256-pfPErjZ4jSxEg+OgFcELyvqrS0Hm3QWQ3WhQ9T3rJbQ=";
|
2023-08-26 18:56:30 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
prePatch = ''
|
2024-02-02 15:19:54 +01:00
|
|
|
mkdir -p external/amber external/glslang external/jsoncpp external/nvidia-video-samples external/spirv-headers external/spirv-tools external/vulkan-docs
|
2023-08-26 18:56:30 +02:00
|
|
|
|
|
|
|
cp -r ${amber} external/amber/src
|
|
|
|
cp -r ${glslang} external/glslang/src
|
|
|
|
cp -r ${jsoncpp} external/jsoncpp/src
|
2023-10-05 11:02:47 +02:00
|
|
|
cp -r ${nvidia-video-samples} external/nvidia-video-samples/src
|
2023-08-26 18:56:30 +02:00
|
|
|
cp -r ${spirv-headers} external/spirv-headers/src
|
|
|
|
cp -r ${spirv-tools} external/spirv-tools/src
|
|
|
|
cp -r ${vulkan-docs} external/vulkan-docs/src
|
|
|
|
'';
|
|
|
|
}
|