2023-10-09 19:29:22 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, python3, vulkan-headers }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "vulkan-utility-libraries";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.3.280.0";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KhronosGroup";
|
|
|
|
repo = "Vulkan-Utility-Libraries";
|
2024-01-25 14:12:00 +00:00
|
|
|
rev = "vulkan-sdk-${finalAttrs.version}";
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-mCD9/bpWUXRVJ+OyOqG0tXTgFuptIlcG6UR/RiNV1Z0=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake python3 ];
|
|
|
|
buildInputs = [ vulkan-headers ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A set of utility libraries for Vulkan";
|
|
|
|
homepage = "https://github.com/KhronosGroup/Vulkan-Utility-Libraries";
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.asl20;
|
2024-01-02 11:29:13 +00:00
|
|
|
maintainers = with maintainers; [ nickcao ];
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
})
|