depot/third_party/nixpkgs/pkgs/development/libraries/vulkan-utility-libraries/default.nix

25 lines
689 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, cmake, python3, vulkan-headers }:
stdenv.mkDerivation (finalAttrs: {
pname = "vulkan-utility-libraries";
version = "1.3.270";
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "Vulkan-Utility-Libraries";
rev = "v${finalAttrs.version}";
hash = "sha256-P1v5UEAooTDGA10K4uck8lhcrbW2ccl44gWIGVnZ6uo=";
};
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 = [];
};
})