forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / applications / emulators / cdemu / vhba.nix
blobe1d251a763923cbacf426dd687ae4b5bd8a24fe3
1 { lib, stdenv, fetchurl, kernel }:
3 stdenv.mkDerivation rec {
4   pname = "vhba";
5   version = "20240917";
7   src  = fetchurl {
8     url = "mirror://sourceforge/cdemu/vhba-module-${version}.tar.xz";
9     hash = "sha256-zjTLriw2zvjX0Jxfa9QtaHG5tTC7cLTKEA+WSCP+Dpg=";
10   };
12   makeFlags = kernel.makeFlags ++ [ "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" "INSTALL_MOD_PATH=$(out)" ];
13   nativeBuildInputs = kernel.moduleBuildDependencies;
15   meta = with lib; {
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 ];
21   };