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