package cryptsetup {
	description = "open-source disk encryption";
	website = "https://gitlab.com/cryptsetup/cryptsetup";
	anitya = 13709;

	version# = "2.8.7";
	source = remoteGitLab {
		domain = "gitlab.com";
		suffix = "cryptsetup/cryptsetup";
		ref = "v"+version;
		checksum = "eDi_UaMtwhIzqpsdcA91aVb56zCYDrsDzeMWfWXAnPbuvn2bEgeH5dFs7mouHz8V";
	};

	bin = [ "bash" ];
	exec = meson {
		setup = {
			"asciidoc": "disabled";
			"ssh-token": "false";
			"blkid": "false";
		};
	};

	inputs = [
		bash,
		gettext,
		coreutils,

		popt,
		lvm2,
		json-c,
		e2fsprogs,
		argp-standalone,
		kernel-headers,
	];

	runtime = [
		popt,
		lvm2,
		json-c,
		e2fsprogs,
		openssl,
	];
}
