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";
|
2020-12-15 03:59:22 +00:00
|
|
|
version = "1.2.162.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}";
|
2020-12-15 03:59:22 +00:00
|
|
|
sha256 = "057c49w1138l02v9gqsk1z8wdz0iilp96jblnldycwm9jc1a1ipq";
|
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";
|
2018-06-27 04:31:11 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.ralith ];
|
|
|
|
};
|
|
|
|
}
|