mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 09:31:01 +00:00
69ce5cb656
find pkgs -name "*.nix" -exec sed -r \ "s|https?://downloads.sourceforge.net/|mirror://sourceforge/|g" -i {} \;
13 lines
398 B
Nix
13 lines
398 B
Nix
{ stdenv, fetchurl, kernel }:
|
|
let version = "20140928";
|
|
in stdenv.mkDerivation {
|
|
name = "vhba-${version}";
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/cdemu/vhba-module-${version}.tar.bz2";
|
|
sha256 = "18jmpg2kpx87f32b8aprr1pxla9dlhf901rkj1sp3ammf94nxxa5";
|
|
};
|
|
preBuild = ''
|
|
makeFlags="KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build INSTALL_MOD_PATH=$out";
|
|
'';
|
|
}
|