2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2018-06-27 03:31:11 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "vulkan-headers";
|
2021-10-14 07:03:30 +00:00
|
|
|
version = "1.2.189.1";
|
2018-06-27 03:31:11 +00:00
|
|
|
|
2019-08-31 16:04:31 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2018-06-27 03:31:11 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KhronosGroup";
|
|
|
|
repo = "Vulkan-Headers";
|
2019-02-17 07:57:14 +00:00
|
|
|
rev = "sdk-${version}";
|
2021-10-14 07:03:30 +00:00
|
|
|
sha256 = "1qggc7dv9jr83xr9w2h375wl3pz3rfgrk9hnrjmylkg9gz4p9q03";
|
2018-06-27 03:31:11 +00:00
|
|
|
};
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2018-06-27 03:31:11 +00:00
|
|
|
description = "Vulkan Header files and API registry";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://www.lunarg.com";
|
2018-06-27 03:31:11 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.ralith ];
|
|
|
|
};
|
|
|
|
}
|