package libbsd {
	description = "provides useful functions commonly found on BSD systems";
	website = "https://libbsd.freedesktop.org";
	anitya = 1567;

	version# = "0.12.2";
	source = remoteGit {
		url = "https://gitlab.freedesktop.org/libbsd/libbsd.git";
		tag = version;
		checksum = "NVS0xFLTwSP8JiElEftsZ-e1_C-IgJhHrHE77RwKt5178M7r087waO-zYx2_dfGX";
	};

	exec = make {
		generate = "echo '" + version + "' > .dist-version && ./autogen";
	};

	inputs = [
		automake,
		libtool,

		libmd,
	];
}
