23 lines
586 B
Nix
23 lines
586 B
Nix
{ stdenv, fetchFromGitHub, cmake }:
|
|
stdenv.mkDerivation rec {
|
|
name = "vulkan-headers-${version}";
|
|
version = "1.1.101.0";
|
|
|
|
buildInputs = [ cmake ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "KhronosGroup";
|
|
repo = "Vulkan-Headers";
|
|
rev = "sdk-${version}";
|
|
sha256 = "1rrpkibi4lnd9j63aarjk74z0xf4sy30zh8psq1vj92r21hfjr6m";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Vulkan Header files and API registry";
|
|
homepage = https://www.lunarg.com;
|
|
platforms = platforms.linux;
|
|
license = licenses.asl20;
|
|
maintainers = [ maintainers.ralith ];
|
|
};
|
|
}
|