1 { lib, stdenv, fetchFromGitHub, cmake, vulkan-headers }:
3 stdenv.mkDerivation (finalAttrs: {
7 src = fetchFromGitHub {
10 rev = "vulkan-sdk-${finalAttrs.version}";
11 hash = "sha256-SbTBwS4mJETrXRT7QMJX9F8ukcZmzz8+1atVbB/fid4=";
14 nativeBuildInputs = [ cmake ];
15 buildInputs = [ vulkan-headers ];
17 cmakeFlags = ["-DVOLK_INSTALL=1"];
20 description = " Meta loader for Vulkan API";
21 homepage = "https://github.com/zeux/volk";
22 platforms = platforms.all;
23 license = licenses.mit;
24 maintainers = with maintainers; [ k900 ];