nixpkgs/pkgs/tools/graphics/vulkan-cts/sources.nix
2023-12-31 00:03:58 +00:00

73 lines
2.3 KiB
Nix

# Autogenerated from vk-cts-sources.py
{ fetchurl, fetchFromGitHub }:
rec {
ESExtractor = fetchFromGitHub {
owner = "Igalia";
repo = "ESExtractor";
rev = "v0.3.3";
hash = "sha256-qqhDv08cLQlLaEj0qfghByK+IohdvQdI2ePfUNFEArQ=";
};
amber = fetchFromGitHub {
owner = "google";
repo = "amber";
rev = "933ecb4d6288675a92eb1650e0f52b1d7afe8273";
hash = "sha256-v9z4gv/mTjaCkByZn6uDpMteQuIf0FzZXeKyoXfFjXo=";
};
glslang = fetchFromGitHub {
owner = "KhronosGroup";
repo = "glslang";
rev = "c5117b328afc86e16edff6ed6afe0fe7872a7cf3";
hash = "sha256-4SoET76fCfutttK00JGCKVQUn0ivGdTw6GhndvxbIDU=";
};
jsoncpp = fetchFromGitHub {
owner = "open-source-parsers";
repo = "jsoncpp";
rev = "9059f5cad030ba11d37818847443a53918c327b1";
hash = "sha256-m0tz8w8HbtDitx3Qkn3Rxj/XhASiJVkThdeBxIwv3WI=";
};
nvidia-video-samples = fetchFromGitHub {
owner = "Igalia";
repo = "vk_video_samples";
rev = "138bbe048221d315962ddf8413aa6a08cc62a381";
hash = "sha256-ftHhb5u3l7WbgEu6hHynBnvNbVOn5TFne915M17jiAQ=";
};
spirv-headers = fetchFromGitHub {
owner = "KhronosGroup";
repo = "SPIRV-Headers";
rev = "b8b9eb8640c8c0107ba580fbcb10f969022ca32c";
hash = "sha256-gcKwML5ItccAhX+QtR9G86h0JnaiVQEmOQzQpL005dg=";
};
spirv-tools = fetchFromGitHub {
owner = "KhronosGroup";
repo = "SPIRV-Tools";
rev = "bfc94f63a7adbcf8ae166f5f108ac9f69079efc0";
hash = "sha256-gju6hJSIWOswGnRxKeJZsU1jgp3HSZAf7wFRxswY+Js=";
};
vulkan-docs = fetchFromGitHub {
owner = "KhronosGroup";
repo = "Vulkan-Docs";
rev = "b9aad705f0d9e5e6734ac2ad671d5d1de57b05e0";
hash = "sha256-bJ2C1+zjvLiYp5A5AHTevFPU9Yka99imqLwH+uApuoY=";
};
prePatch = ''
mkdir -p external/ESExtractor external/amber external/glslang external/jsoncpp external/nvidia-video-samples external/spirv-headers external/spirv-tools external/vulkan-docs
cp -r ${ESExtractor} external/ESExtractor/src
cp -r ${amber} external/amber/src
cp -r ${glslang} external/glslang/src
cp -r ${jsoncpp} external/jsoncpp/src
cp -r ${nvidia-video-samples} external/nvidia-video-samples/src
cp -r ${spirv-headers} external/spirv-headers/src
cp -r ${spirv-tools} external/spirv-tools/src
cp -r ${vulkan-docs} external/vulkan-docs/src
'';
}