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