aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/vulkan.az
blob: 4ed197d4565f40ca85b3e90f33cd4a1bf0e0afca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package vulkan-headers {
	description = "Vulkan header files and API registry";
	website = "https://www.vulkan.org";
	anitya = 393261;

	version# = "1.4.363.0";
	source = remoteGitHub {
		suffix = "KhronosGroup/Vulkan-Headers";
		tag = "vulkan-sdk-"+version;
		checksum = "7M0IL5Mu_Y2ZsO_lrl1YjLee45eN1UfY5MWj_2ZxBsrlVGYjn0g2UeedPNFiP7jS";
	};

	exec = cmake {};

	unlikely = true;
}

package vulkan-loader {
	description = "Vulkan Loader";
	website = "https://vulkan.lunarg.com/doc/sdk/latest/linux/LoaderInterfaceArchitecture.html";
	anitya = 334922;

	version# = "1.4.363.0";
	source = remoteGitHub {
		suffix = "KhronosGroup/Vulkan-Loader";
		tag = "vulkan-sdk-"+version;
		checksum = "aCGnq0nv2NIWx4eQdyQdv7yVyrfwJcSbv5adOh4IPQMzGvz_FTBQvtfdk697Blzh";
	};
	ccommon = true;

	exec = cmake {
		// upstream has no tests
		test = nil;
	};

	inputs = [
		vulkan-headers,
		libX11,
		libXrandr,
	];
	tools = [
		pkg-config,
		python,
	];
	runtime = nil;
}