nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 python3,
7 vulkan-headers,
8}:
9
10stdenv.mkDerivation (finalAttrs: {
11 pname = "vulkan-utility-libraries";
12 version = "1.4.335.0";
13
14 src = fetchFromGitHub {
15 owner = "KhronosGroup";
16 repo = "Vulkan-Utility-Libraries";
17 rev = "vulkan-sdk-${finalAttrs.version}";
18 hash = "sha256-lDO0B7wEYT6cc/t/ZW5OAxxgRfDORoGd+pF5r5R7yoQ=";
19 };
20
21 nativeBuildInputs = [
22 cmake
23 python3
24 ];
25 buildInputs = [ vulkan-headers ];
26
27 meta = {
28 description = "Set of utility libraries for Vulkan";
29 homepage = "https://github.com/KhronosGroup/Vulkan-Utility-Libraries";
30 platforms = lib.platforms.all;
31 license = lib.licenses.asl20;
32 maintainers = with lib.maintainers; [ nickcao ];
33 };
34})