package libudev-zero {
	description = "daemonless replacement for libudev";
	website = "https://github.com/illiliti/libudev-zero";
	anitya = 145201;

	version# = "1.0.4";
	source = remoteGitHub {
		suffix = "illiliti/libudev-zero";
		tag = version;
		checksum = "MHETnJwIdXc62qvE1Ya9xb2Shb53gWxdXzr8FVCFEacXF1rc01yE9guP3eXlKhYw";
	};

	env = [ "CC=cc" ];
	enterSource = true;
	writable = true;

	exec = make {
		inPlace = true;
		skipConfigure = true;
		skipCheck = true;

		make = [ "PREFIX=/system" ];
		install = "make DESTDIR=/work PREFIX=/system install";
	};

	inputs = [ kernel-headers ];
}
