summary refs log tree commit diff
path: root/pkgs/development/libraries/vulkan-headers/update.sh
blob: da4e42ded84a230bdc88b79d7fc6e188e63fd7da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p nix-update

set -euf -o pipefail

SDK_PACKAGES=(
    "vulkan-headers"
    "vulkan-loader"
    "vulkan-validation-layers"
    "vulkan-tools"
    "vulkan-tools-lunarg"
    "vulkan-extension-layer"
    "vulkan-utility-libraries"
    "spirv-headers"
    "spirv-cross"
    "spirv-tools"
)

nix-update glslang --version-regex '(\d+\.\d+\.\d+)' --commit

for P in "${SDK_PACKAGES[@]}"; do
    nix-update "$P" --version-regex "(?:vulkan-sdk-)(.*)" --commit
done