package libgd {
	description = "an open source code library for the dynamic creation of images";
	website = "https://libgd.github.io";
	anitya = 880;

	version# = "2.3.3";
	source = remoteGitHubRelease {
		suffix = "libgd/libgd";
		tag = "gd-"+version;
		name = "libgd-"+version+".tar.gz";
		checksum = "8T-sh1_FJT9K9aajgxzh8ot6vWIF-xxjcKAHvTak9MgGUcsFfzP8cAvvv44u2r36";
		compress = gzip;
	};

	env = [
		"TMPDIR=/dev/shm/gd",
	];

	early = "\nmkdir /dev/shm/gd\n";

	exec = make {};

	inputs = [ zlib ];
	runtime = [ zlib ];
}
