summaryrefslogtreecommitdiff
path: root/util/ogl_renderer/.nix/derivation.nix
blob: d03d6fa0b91886904973d25b59111ef185437f16 (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
{ lib
, stdenv
, scons
, clang-tools
, pkg-config
, pname
, version
, forstio
, kel-lbm
, libGL
, kel-glad
, sdl3
}:

stdenv.mkDerivation {
	pname = pname + "-util-ogl-renderer";
	inherit version;
	src = ./..;

	nativeBuildInputs = [
		scons
		clang-tools
		pkg-config
	];

	buildInputs = [
		forstio.core
		forstio.codec
		forstio.codec-json
		forstio.codec-unit
		kel-lbm.core
		libGL
		kel-glad
		sdl3
	];

	preferLocalBuild = true;
}