added iscsitarget

svn path=/nixpkgs/trunk/; revision=23540
This commit is contained in:
Rob Vermaas 2010-08-30 09:15:27 +00:00
parent 43ac966abb
commit f6e0a38226
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, fetchurl, kernel, module_init_tools}:
stdenv.mkDerivation rec {
name = "iscsitarget-1.4.20.2";
src = fetchurl {
url = "mirror://sourceforge/iscsitarget/iscsitarget/1.4.20.2/${name}.tar.gz";
sha256 = "126kp0yc7vmvdbaw2xfav89340b0h91dvvyib5qbvyrq40n8wg0g";
};
KSRC = "${kernel}/lib/modules/*/build";
DESTDIR="$(out)";
preConfigure = ''
export PATH=$PATH:${module_init_tools}/sbin
sed -i 's|/usr/|/|' Makefile
'';
buildInputs = [ module_init_tools ];
meta = {
description = "iSCSI Enterprise Target (IET) software is for building an iSCSI storage system on Linux.";
license = "GPLv2+";
homepage = http://iscsitarget.sourceforge.net ;
};
}

View File

@ -4589,6 +4589,8 @@ let
inherit (gtkLibs) gtkmm;
};
iscsitarget = callPackage ../os-specific/linux/iscsitarget { };
iwlwifi = callPackage ../os-specific/linux/iwlwifi { };
iwlwifi4965ucode =