aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/dtc.az
blob: e894ad4874168f7cf2bd6d57c44ee8f14d8a3d67 (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
package dtc {
	description = "The Device Tree Compiler";
	website = "https://git.kernel.org/pub/scm/utils/dtc/dtc.git";
	anitya = 16911;

	version# = "1.8.1";
	source = remoteTar {
		url = "https://git.kernel.org/pub/scm/utils/dtc/dtc.git/snapshot/"+
			"dtc-v"+version+".tar.gz";
		checksum = "sPsg0G4AeTvNQfUqu3bWsVNuMT0ZGvb5MP1CaO-sQYLP_rUTk5sHiHMQ_FfLPN92";
		compress = gzip;
	};

	// works around buggy test:
	// fdtdump-runtest.sh /usr/src/dtc/tests/fdtdump.dts
	writable = true;
	chmod = true;

	exec = meson {
		setup = {
			"yaml": "disabled";
		};
	};

	inputs = [
		flex,
		bison,
		m4,
		coreutils,
		diffutils,
	];
}