nixpkgs-suyu/pkgs/development/libraries/vulkan-headers/default.nix
Benjamin Saunders f19a3884bc vulkan: 1.2.189.1 -> 1.2.198.0
Upstream has established rigorous tagging practices, allowing us to
simplify things considerably.
2022-01-16 14:57:11 -08:00

22 lines
581 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "vulkan-headers";
version = "1.2.198.0";
nativeBuildInputs = [ cmake ];
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "Vulkan-Headers";
rev = "sdk-${version}";
sha256 = "sha256-SvC0AX1wIZWLzws3ZS8Wi8fbNUw1+An/PRlFIfNj24Y=";
};
meta = with lib; {
description = "Vulkan Header files and API registry";
homepage = "https://www.lunarg.com";
platforms = platforms.linux;
license = licenses.asl20;
maintainers = [ maintainers.ralith ];
};
}