1 { stdenv, lib, fetchFromGitHub, kernel }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 hash = "sha256-dMh6bqlhsp/cWKqiJ9xjVI9yJj2w1ap7agKSnRjadXA=";
14 hardeningDisable = [ "pic" "format" ];
15 nativeBuildInputs = kernel.moduleBuildDependencies;
18 CONFIG_RTC_HCTOSYS yes
21 makeFlags = kernel.makeFlags ++ [
23 "INSTALL_MOD_PATH=$(out)"
24 "KERNELRELEASE=${kernel.modDirVersion}"
25 "KERNELDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
29 description = "OpenBSD VMM Control Interface (vmmci) for Linux";
30 homepage = "https://github.com/voutilad/virtio_vmmci";
31 license = licenses.gpl2Plus;
32 maintainers = with maintainers; [ qbit ];
33 platforms = platforms.linux;
36 enableParallelBuilding = true;