f19a3884bc
Upstream has established rigorous tagging practices, allowing us to simplify things considerably.
22 lines
581 B
Nix
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 ];
|
|
};
|
|
}
|