mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 06:03:40 +00:00
51b73b6320
Updates - vulkan-headers - vulkan-loader - vulkan-validation-layers - vulkan-extension-layer - vulkan-tools - vulkan-tools-lunarg Also adds some additional asserts for version matching to these packages
23 lines
582 B
Nix
23 lines
582 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake }:
|
|
stdenv.mkDerivation rec {
|
|
pname = "vulkan-headers";
|
|
version = "1.2.182.0";
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KhronosGroup";
|
|
repo = "Vulkan-Headers";
|
|
rev = "sdk-${version}";
|
|
sha256 = "03j0kzq2qxhy0y82l10m8am26zrms2sjrdb1dcbpv9zh5vkxhcla";
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "Vulkan Header files and API registry";
|
|
homepage = "https://www.lunarg.com";
|
|
platforms = platforms.linux;
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.ralith ];
|
|
};
|
|
}
|