1 { lib, stdenv, fetchurl, kernel }:
3 stdenv.mkDerivation rec {
8 url = "mirror://sourceforge/cdemu/vhba-module-${version}.tar.xz";
9 hash = "sha256-zjTLriw2zvjX0Jxfa9QtaHG5tTC7cLTKEA+WSCP+Dpg=";
12 makeFlags = kernel.makeFlags ++ [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" "INSTALL_MOD_PATH=$(out)" ];
13 nativeBuildInputs = kernel.moduleBuildDependencies;
16 description = "Provides a Virtual (SCSI) HBA";
17 homepage = "https://cdemu.sourceforge.io/about/vhba/";
18 platforms = platforms.linux;
19 license = licenses.gpl2Plus;
20 maintainers = with lib.maintainers; [ bendlas ];