depot/third_party/nixpkgs/pkgs/development/libraries/vulkan-utility-libraries/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

24 lines
689 B
Nix

{ 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 = [];
};
})