package lvm2 {
	description = "userspace toolset that provide logical volume management facilities";
	website = "https://sourceware.org/lvm2";
	anitya = 5354;

	version# = "2.03.42";
	source = remoteTar {
		url = "https://mirrors.kernel.org/sourceware/lvm2/releases/LVM2."+version+".tgz";
		compress = gzip;
		checksum = "qzqVAeW9ttt_H5W0Wfg8twvZjFZH7x_RIzSjqYSooMsRpiXQ7yNdOL1MXY5Zntvi";
	};
	patches = [
		"fix-stdio-usage.patch",
		"remove-man.patch",
	];

	exec = make {
		// requires root
		check = nil;
	};

	inputs = [
		pkg-config,

		libaio,
		kernel-headers,
	];
}
