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