package connman {
	description = "a daemon for managing Internet connections";
	website = "https://git.kernel.org/pub/scm/network/connman/connman.git";
	anitya = 337;

	version# = "2.0";
	source = remoteTar {
		url = "https://git.kernel.org/pub/scm/network/connman/connman.git/"+
			"snapshot/connman-"+version+".tar.gz";
		checksum = "MhVTdJOhndnZn2SWd8URKo_Pj7Zvc14tntEbrVOf9L3yVWJvpb3v3Q6104tWJgtW";
		compress = gzip;
	};
	patches = [ "alpine-musl-res.patch" ];

	exec = make {
		generate = "./bootstrap";
	};

	inputs = [
		automake,
		libtool,
		pkgconf,

		dbus,
		iptables,
		gnutls,
		readline,
		kernel-headers,
	];

	runtime = [
		dbus,
		iptables,
		gnutls,
		readline,
	];
}
