2023-10-09 19:29:22 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, python3, vulkan-headers }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "vulkan-utility-libraries";
|
2023-11-16 04:20:00 +00:00
|
|
|
version = "1.3.270";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KhronosGroup";
|
|
|
|
repo = "Vulkan-Utility-Libraries";
|
|
|
|
rev = "v${finalAttrs.version}";
|
2023-11-16 04:20:00 +00:00
|
|
|
hash = "sha256-P1v5UEAooTDGA10K4uck8lhcrbW2ccl44gWIGVnZ6uo=";
|
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;
|
|
|
|
maintainers = [];
|
|
|
|
};
|
|
|
|
})
|