2014-01-05 05:57:21 +04:00
|
|
|
{ stdenv, fetchurl, kernel}:
|
|
|
|
let
|
|
|
|
pname = "open-iscsi-2.0-871";
|
|
|
|
in stdenv.mkDerivation {
|
|
|
|
name = "${pname}-${kernel.version}";
|
2012-02-17 18:32:28 +04:00
|
|
|
|
2010-08-30 13:40:44 +04:00
|
|
|
src = fetchurl {
|
2014-01-05 05:57:21 +04:00
|
|
|
url = "http://www.open-iscsi.org/bits/${pname}.tar.gz";
|
2010-08-30 13:40:44 +04:00
|
|
|
sha256 = "1jvx1agybaj4czhz41bz37as076spicsmlh5pjksvwl2mr38gsmw";
|
|
|
|
};
|
|
|
|
|
2014-01-05 05:57:21 +04:00
|
|
|
KSRC = "${kernel.dev}/lib/modules/*/build";
|
2012-02-17 18:32:28 +04:00
|
|
|
DESTDIR = "$(out)";
|
2010-08-30 13:40:44 +04:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -i 's|/usr/|/|' Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
patches = [./kernel.patch];
|
|
|
|
|
|
|
|
meta = {
|
2012-02-17 18:32:28 +04:00
|
|
|
description = "A high performance, transport independent, multi-platform implementation of RFC3720";
|
2014-06-19 08:19:00 +04:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2012-02-17 18:32:28 +04:00
|
|
|
homepage = http://www.open-iscsi.org;
|
2014-01-05 05:57:21 +04:00
|
|
|
broken = true;
|
2010-08-30 13:40:44 +04:00
|
|
|
};
|
|
|
|
}
|