aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/kmod.az
blob: c56ba846651962981052ae2e2bd2cca9756eda0b (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
package kmod {
	description = "a set of tools to handle common tasks with Linux kernel modules";
	website = "https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git";
	anitya = 1517;

	version# = "34.2";
	source = remoteTar {
		url = "https://www.kernel.org/pub/linux/utils/kernel/"+
			"kmod/kmod-"+version+".tar.gz";
		checksum = "0K7POeTKxMhExsaTsnKAC6LUNsRSfe6sSZxWONPbOu-GI_pXOw3toU_BIoqfBhJV";
		compress = gzip;
	};

	exec = meson {
		setup = {
			"moduledir": "/system/lib/modules";
			"sysconfdir": "/system/etc";
			"bashcompletiondir": "no";
			"fishcompletiondir": "no";
			"xz": "disabled";
			"manpages": "false";
		};

		// makes assumptions about the running kernel
		test = false;
	};

	inputs = [
		zlib,
		zstd,
		openssl,
		kernel-headers,
	];

	runtime = [
		zlib,
		zstd,
		openssl,
	];
}