package fuse {
	description = "the reference implementation of the Linux FUSE interface"
	website = "https://github.com/libfuse/libfuse"
	anitya = 861

	version := "3.18.2"
	source = remoteGitHubRelease {
		suffix = "libfuse/libfuse"
		tag = "fuse-"+version
		name = "fuse-${version}.tar.gz"
		checksum = "iL-7b7eUtmlVSf5cSq0dzow3UiqSjBmzV3cI_ENPs1tXcHdktkG45j1V12h-4jZe"
		compress = gzip
	}

	exec = meson {
		setup = [
			"Ddefault_library": "both";
			"Dtests": "true";
			"Duseroot": "false";
			"Dinitscriptdir": "/system/etc";
		]

		postCompile = "python3 -m pytest test/"
		// this project uses pytest
		skipTest
	}

	inputs = [
		python-pytest

		kernel-headers
	]
}
